From the course: Python: Recursion

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution: Tree traversal

Solution: Tree traversal - Python Tutorial

From the course: Python: Recursion

Start my 1-month free trial

Solution: Tree traversal

(upbeat music) - [Instructor] And here we have the solutions to chapter six challenge. So for pre-order we get D-B-A-C-E, for in-order we get A-B-C-D-E, and for post-order we get A-C-B-E-D.

Contents