← Tree Traversal
Tree Traversal Target: 5s
Leaf detection is used in path-sum, leaf-collection, and boundary traversal problems.
node.left is None and node.right is None
Type it from memory. Go.