Find Successor in BSTBinary Search TreesFind Successor in Binary Search TreeChallenge 🤔 Given a binary search tree and a node in it, find the in-order successor of that node…Omer GoldbergDecember 05, 2020 14 min
Is Valid BSTBinary Search TreesIs Valid Binary Search TreeProblem 🤔 Given the root of a binary tree, determine if it is a valid binary search tree (BST). A…Omer GoldbergDecember 05, 2020 8 min
Insert Node into BSTBinary Search TreesInsert Node into Binary Search TreeProblem 🤔 You are given the root node of a binary search tree (BST) and a value to insert into the…Assaf ElovicDecember 05, 2020 8 min
Array to BSTBinary Search TreesSorted Array To Binary Search TreeProblem 🤔 Given an array where elements are sorted in ascending order, convert it to a height…Omer GoldbergDecember 05, 2020 11 min
Construct tree from inorder and preorderBinary TreesConstruct Tree from Inorder and Preorder TraversalChallenge 🤔 Given preorder and inorder traversal of a tree, construct the binary tree. Note You may…Assaf ElovicDecember 05, 2020 8 min
Construct tree from inorder and postorderBinary TreesConstruct Tree from Inorder and Postorder TraversalProblem 🤔 Given inorder and postorder traversal of a tree, construct the binary tree. Note You may…Omer GoldbergDecember 05, 2020 12 min