Source: https://github.com/java-leetcode-classroom/java_build_binary_tree_from_preorder_inorder/pulls