partitionSelect

partitionSelect(x, k)

partitionSelect(x, k, compare)

Try it yourself:

See also:
All functions