Zyla Health interview question

find the leaf nodes in binary search tree,