ConstructBinaryTreefromPreorderandInorderTraversal

use hashmap and index manipulations