Hi! I just started searching through the algorithms package and I don't (yet) see if there is an algorithm for selecting the Kth Order Statistic from a Swift Array or Set. My guess is this would also be expected to run in linear time. Is this named something else in the package? Were there plans or blockers for shipping this in the future? Thanks!
I still was looking for any more clues on this… I found another place I would have wanted this ability. I did find the min-max functions… but this looks like it would return the k smallest or largest elements sorted. My preference would have been to either just return the Kth Order Statistic or return the k elements unsorted.