LeetCode

Recover a Tree From Preorder Traversal

Click here for an explanation.