Array
106. Construct Binary Tree from Inorder and Postorder Traversal
The mirror of building from preorder + inorder (#105). In postorder the root is the last element, so walk postorder from the back and each element you pick is the next subtree's root. There's one…
Loading…