Leap interview question

Puzzle Get distance between node in BST tree