Bloomberg interview question

Find kth smallest element in a BST.