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.
Challenge: Tree traversal - Python Tutorial
From the course: Python: Recursion
Challenge: Tree traversal
“
(upbeat music) - [Instructor] The challenge for chapter six is to write down the various depth first search traversals for the tree given on the slide. So we have pre-order, in-order, and post-order. Have a go do this on paper or on a whiteboard. And I suggest you spend about five minutes on this exercise. Good luck.