Another way to achieve similar goals is to include a pointer in every node, to that node's parent node.
The idea is to connect each node in a structure to its parent node, providing a way to traverse the hierarchy.