Practice Discrete Math

Tree Traversal Recursion

Browse Tree Traversal Recursion lessons inside Algorithmic Thinking and Complexity.

1 lessons · 5 questions

Algorithmic Thinking and Complexity

Big-O, loop analysis, graph algorithms, invariants, and developer-focused discrete math.

1 lessons · 410 questions

Tree Traversal Recursion

1 lessons · 5 questions

Least You Need to Know: Tree Traversals and Recursive Calls
Tree interview questions often hinge on when work happens relative to the recursive calls. Preorder acts before the children, inorder acts between them, and postorder acts after the children return.
Open lesson