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
Maximum Product SubarrayDynamic ProgrammingMaximum Product SubarrayProblem 🤔 Given an integer array nums, find the contiguous subarray within an array (containing at…Omer GoldbergDecember 05, 2020 11 min
Max Profit Job ScheduleDynamic ProgrammingMax Profit Job ScheduleChallenge 🤔 We have n jobs, where every job is scheduled to be done from startTime[i] to…Omer GoldbergDecember 05, 2020 14 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
Recursive TechniquesRecursionRecursive TechniquesIntro The two main approaches to recursion is top down and bottom up. Usually we'll use one of the…Omer GoldbergDecember 05, 2020 3 min