Datatron Interview Question

Find the kth smallest element in an array