Construct Binary Tree from Preorder and Inorder

#105
Medium
Binary Tree
O(n)
O(n)
Amazon
Microsoft
Facebook
LinkedIn
View on LeetCode

Problem Description

Given two integer arrays preorder and inorder, construct and return the binary tree.