Topic: Tree Problem / Level: beginner

Problem: Write a function to find all the leaf nodes in a binary tree.

Run the code to see the output here...