From 9e32c82567eb1f5aac32e78bb9eb2bf067568f7e Mon Sep 17 00:00:00 2001 From: Nikita Mahoviya <43717626+nikitamahoviya@users.noreply.github.com> Date: Wed, 3 May 2023 10:10:52 +0530 Subject: [PATCH] Typo Error --- ...onstruct Binary Tree from Preorder and Inorder Traversal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Leetcode Challenge/June/Construct Binary Tree from Preorder and Inorder Traversal.cpp b/Leetcode Challenge/June/Construct Binary Tree from Preorder and Inorder Traversal.cpp index d9ba6d1..ad8aa8d 100644 --- a/Leetcode Challenge/June/Construct Binary Tree from Preorder and Inorder Traversal.cpp +++ b/Leetcode Challenge/June/Construct Binary Tree from Preorder and Inorder Traversal.cpp @@ -41,7 +41,7 @@ class Solution { int rPrE = preorderEnd; root->left = buildTree_helper(preorder, inorder, lPrS, lPrE, lInS, lInE); - root->right = buildTree_helper(preorder, inorder, rPrS, rPrE, rInS, rInE)q; + root->right = buildTree_helper(preorder, inorder, rPrS, rPrE, rInS, rInE); return root;