DEV Community

loading...

Discussion on: Walking a tree (depth first search)

Collapse
nam288 profile image
Nam H. Le

Oops, I’m wrong at some points. Btw, thanks for sharing.
Cheers.

Collapse
konstantinosblatsoukasrepo profile image
Konstantinos Blatsoukas Author

Nam, I just added how a tree node looks like! thanks again for your comment

Thread Thread
nam288 profile image
Nam H. Le

That is a ideal structure, and does not exist in reality world. I believe that we will have adjacency list only.