Path from given node to root in a binary tree

Clash Royale CLAN TAG #URR8PPP Path from given node to root in a binary tree I've been trying to figure this problem out for a while now and I'm not really getting anywhere with it. Essentially, given some binary tree and a node on that tree, how would you find the path from that given node back to the root? Does anyone have an idea on how I could implement this? Any input would be greatly appreciated, my sincere thanks from a novice coder. give your code. how u store data – sajib 2 days ago Does your node implementation have a notion of parent, or does it only know its children? – Roddy of the Frozen Peas 2 days ago Hint: Stack, DFS – Jiga...