Generate ParenthesesRecursionGenerate ParenthesesProblem 🤔 Given n pairs of parentheses, write a function to generate all combinations of well…Omer GoldbergFebruary 20, 2020 10 min
Generate Permutations w/ DuplicatesRecursionGenerate Permutations with DuplicatesProblem 🤔 Given a collection of numbers, nums, that might contain duplicates, return all possible…Omer GoldbergFebruary 20, 2020 11 min
Magic IndexSorting and SearchingMagic IndexProblem 🤔 Given a sorted array of distinct integers, find the Magic index. Magic Index: Magic…Omer GoldbergFebruary 20, 2020 9 min
Unique Binary Search TreesDynamic ProgrammingUnique Binary Search TreesProblem 🤔 Given an integer n , return the number of structurally unique BST's (binary search trees…Omer GoldbergFebruary 17, 2020 15 min
Binary SearchSorting and SearchingBinary SearchProblem 🤔 Implement binary search. Real World Applications 🌎 This is the fastest way to search for…Omer GoldbergFebruary 13, 2020 7 min
Lowest Common Ancestor in BSTBinary Search TreesLowest Common Ancestor in BSTProblem 🤔 Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given…Omer GoldbergFebruary 12, 2020 20 min