LinkedIn interview question

Find the k closest elements in a BST