Class QuickSelect<T>
A quick select for Kth smallest algorithm implementation.
Inherited Members
Namespace: Advanced.Algorithms.Search
Assembly: Advanced.Algorithms.dll
Syntax
public class QuickSelect<T>
where T : IComparable
Type Parameters
Name | Description |
---|---|
T |
Methods
FindSmallest(IEnumerable<T>, Int32)
Declaration
public static T FindSmallest(IEnumerable<T> input, int k)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | input | |
Int32 | k |
Returns
Type | Description |
---|---|
T |