Given an array of N items, find a kth smallest/largest item from unordered array

Comments