Generate PermutationsRecursionGenerate PermutationsProblem 🤔 Given an array nums of distinct integers, return all the possible permutations. You can…Omer GoldbergJune 20, 2022 11 min
Generate Subsets of Size KRecursionGenerate All Subsets of Size KProblem 🤔 Given two integers n and k, return all possible combinations of k numbers out of 1 ... n…Omer GoldbergJune 20, 2022 15 min
Generate the Power SetRecursionGenerate the Power SetProblem 🤔 Given an array nums of distinct integers, return all the possible permutations. In…Omer GoldbergJune 20, 2022 15 min
Array to BSTRecursionSorted Array to Binary Search TreeProblem 🤔 Given an array where elements are sorted in ascending order, convert it to a height…Omer GoldbergJune 20, 2022 10 min
Longest Palindromic SubstringDynamic ProgrammingLongest Palindromic SubstringProblem 🤔 Given a string s , return the longest palindromic substring in s . Example 1 Input: s…Omer GoldbergFebruary 12, 2021 14 min
Reverse Linked ListLinked ListsReverse Linked ListsProblem 🤔 Reverse a linked list! Example 1 Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL…Omer GoldbergJanuary 20, 2021 11 min