leetcode/src/buildTreePreOrderInOrder at master · SolutionYogi/leetcode · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

README.md

Problem

Given inorder and preorder traversal of a tree, construct the binary tree.

Solution

Pre order to find root, divide and conquer