D13
Backtracking
25 stations · 12hSubsets, permutations, combinations and constraint search. 25 interview problems explained by codestorywithMIK (12h of video), grouped into 6 patterns such as Subsets, Permutations, Combinations & Combination Sum.
Start this line →- Subsets3
- Permutations2
- Combinations & Combination Sum4
- Partitioning3
- Grid & Board Search4
- Constraint & Pruning10
Subsets
0 of 3 passed- Non-decreasing SubsequencesLC 491 · 29:42MediumGoogle · Amazon · +2 more companiesLeetCode ↗ (opens in a new tab)
- The Number of Beautiful SubsetsLC 2597 · 14:27MediumGoogle · Amazon · +2 more companiesLeetCode ↗ (opens in a new tab)
- Longest Subsequence Repeated k TimesLC 2014 · 48:15HardGoogle · Amazon · +1 more companiesLeetCode ↗ (opens in a new tab)
Permutations
0 of 2 passedCombinations & Combination Sum
0 of 4 passed- Letter Combinations of a Phone NumberLC 17 · 22:41EasyGoogle · Amazon · +3 more companiesLeetCode ↗ (opens in a new tab)
- Combination Sum IVLC 377 · 22:18MediumGoogle · Amazon · +24 more companiesLeetCode ↗ (opens in a new tab)
- Combination Sum IILC 40 · 26:10MediumGoogle · Amazon · +13 more companiesLeetCode ↗ (opens in a new tab)
Partitioning
0 of 3 passed- Palindrome PartitioningLC 131 · 25:25MediumGoogle · Amazon · +9 more companiesLeetCode ↗ (opens in a new tab)
- Split a String Into the Max Number of Unique SubstringsLC 1593 · 28:27MediumGoogle · Amazon · +2 more companiesLeetCode ↗ (opens in a new tab)
Grid & Board Search
0 of 4 passed- Path with Maximum GoldLC 1219 · 21:59MediumGoogle · Amazon · +3 more companiesLeetCode ↗ (opens in a new tab)
Constraint & Pruning
0 of 10 passed- Maximum Number of Achievable Transfer RequestsLC 1601 · 19:44HardAmazonLeetCode ↗ (opens in a new tab)
- Letter Combinations of a Phone NumberLC 17 · 22:41EasyGoogle · Amazon · +3 more companiesLeetCode ↗ (opens in a new tab)
- Maximum Score Words Formed by LettersLC 1255 · 30:12HardGoogle · Amazon · +1 more companiesLeetCode ↗ (opens in a new tab)
- Construct the Lexicographically Largest Valid SequenceLC 1718 · 37:39MediumGoogle · Amazon · +3 more companiesLeetCode ↗ (opens in a new tab)
- Letter Tile PossibilitiesLC 1079 · 29:24MediumGoogle · Meta · +3 more companiesLeetCode ↗ (opens in a new tab)
- Pyramid Transition MatrixLC 756 · 40:45MediumGoogle · Amazon · +1 more companiesLeetCode ↗ (opens in a new tab)
- Remove Invalid ParenthesesLC 301 · 25:33HardGoogle · Amazon · +7 more companiesLeetCode ↗ (opens in a new tab)
All 25 stations in order
- 1.Word Search (LeetCode 79)
- 2.Unique Paths III -(Apple, Amazon, Microsoft, Intuit) : Explanation ➕ Live Coding (LeetCode 980)
- 3.Non-decreasing Subsequences (LeetCode 491)
- 4.Palindrome Partitioning (LeetCode 131)
- 5.Fair Distribution of Cookies (LeetCode 2305)
- 6.Maximum Number of Achievable Transfer Requests (LeetCode 1601)
- 7.Combinations (LeetCode 77)
- 8.Permutations (LeetCode 46)
- 9.Letter Combinations of a Phone Number (LeetCode 17)
- 10.Combination Sum IV (LeetCode 377)
- 11.Find the Minimum Cost Array Permutation (LeetCode 3149)
- 12.Path with Maximum Gold (LeetCode 1219)
- 13.The Number of Beautiful Subsets (LeetCode 2597)
- 14.Maximum Score Words Formed by Letters (LeetCode 1255)
- 15.Word Break II (LeetCode 140)
- 16.Combination Sum II (LeetCode 40)
- 17.Split a String Into the Max Number of Unique Substrings (LeetCode 1593)
- 18.Construct the Lexicographically Largest Valid Sequence (LeetCode 1718)
- 19.Letter Tile Possibilities (LeetCode 1079)
- 20.The k-th Lexicographical String of All Happy Strings of Length n (LeetCode 1415)
- 21.Longest Subsequence Repeated k Times (LeetCode 2014)
- 22.24 Game (LeetCode 679)
- 23.Sudoku Solver (LeetCode 37)
- 24.Pyramid Transition Matrix (LeetCode 756)
- 25.Remove Invalid Parentheses (LeetCode 301)