Tree: Depth-First Search - Construct Tree from Preorder and Inorder
Given the following code snippet for building a binary tree from preorder and inorder traversals, what is the value of
inorder_index after processing the second element of preorder = [3,9,20] and inorder = [9,3,20]?