Class KthSmallest<T>
Returns the kth smallest element in given input
Inherited Members
Namespace: Advanced.Algorithms.Numerical
Assembly: Advanced.Algorithms.dll
Syntax
public class KthSmallest<T>
where T : IComparable
Type Parameters
| Name | Description |
|---|---|
| T |
Methods
FindKthSmallest(T[], Int32)
Declaration
public T FindKthSmallest(T[] input, int k)
Parameters
| Type | Name | Description |
|---|---|---|
| T[] | input | |
| Int32 | k |
Returns
| Type | Description |
|---|---|
| T |