Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to find the longest path from the root to any leaf node in a binary tree.

Run the code to see the output here...