Interview Questions, Selection Algorithm, Find kth Max, Find kth Min, Array, QuickSort Magic of Quickselect/Selection algorithm Recently I came across an interesting interview question. To find the kth largest or smallest element in the given array. Please remember that array is unsorted. The problem becomes cakewalk if array is