kth smallest element
kth largest element
more practice programs