LC255 Verify Preorder Sequence in Binary Search Tree