Given an n ary tree where each node values can be a string and find all the nodes that are included in the topological path from root to that given node.
Input would be root node and the node to be found
Highly appreciate approaches to solve this problem