Construct tree with inorder/preorder/postorder array - tricky on the recursive bountry value, following csdn answer