LinkedIn Interview Question

Find the k closest elements in a BST