Least You Need to Know: Tree Traversals and Recursive Calls
Open lesson
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.