LeetCode 105. Construct Binary Tree from Preorder and Inorder Traversal
Posted onInLeetcode
,
Tree Symbols count in article: 1.1kReading time ≈1 mins.
Question
Given two integer arrays preorder and inorder where preorder is the preorder traversal of a binary tree and inorder is the inorder traversal of the same tree, construct and return the binary tree.