Tree traversal question
Anonymous User
316

Hey,

I would appreciate any help on how to approach this problem. The question was to traverse the tree and print the node value in the order showed in the picture:

image

It feels like a variation of DFS, however we somehow need to find the converging node before continuing the tree traversal.

Any idea how you would approach this?

Comments (1)