Topic: Tree Problem / Level: intermediate

Problem: Print all ancestors of a node in a binary tree.

Run the code to see the output here...