1008. Construct Binary Search Tree from Preorder Traversal - Solutions and Explanation | Vultr Docs