Construct the following binary tree 1 / \ 2 3 / \ 4 5 / 7
root = Node ( 1 ) NEW_LINE root . left = Node ( 2 ) NEW_LINE root . right = Node ( 3 ) NEW_LINE root . left . left = Node ( 4 ) NEW_LINE root . left . right = Node ( 5 ) NEW_LINE root . left . left . left = Node ( 7 ) NEW_LINE printAncestors ( root , 7 ) NEW_LINE