Depth First Traversal

As the name suggests, depth-first traversal involves traversing a tree from top to bottom. (Reading time: 2 minutes)

Get hands-on with 1400+ tech skills courses.