Sokrati interview question

Find kth smallest element in unsorted array