Topic: Tree Problem / Level: beginner

Problem: Implement a function to find all leaf nodes of a binary tree using DFS.

Run the code to see the output here...