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
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
Is Subtree of Another TreeRecursionSubtree of Another TreeProblem 🤔 Given two non-empty binary trees s and t , check whether tree t has exactly the…Omer GoldbergFebruary 12, 2020 22 min
Lowest Common Ancestor in Binary TreeBinary TreesLowest Common Ancestor in Binary TreeProblem 🤔 Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree…Omer GoldbergFebruary 12, 2020 17 min