Topic: Tree Problem / Level: beginner

Problem: Write a function to print all ancestors of a given node in a binary tree.

Run the code to see the output here...