Backtracking Interview Questions

Explore-and-prune search for combinations and permutations.

60 problems

#Title
17Letter Combinations of a Phone Number
22Generate Parentheses
37Sudoku Solver
39Combination Sum
40Combination Sum II
46Permutations
47Permutations II
51N-Queens
52N-Queens-II
77Combinations
78Subsets
79Word Search
90Subsets II
93Restore IP Addresses
126Word Ladder II
131Palindrome Partitioning
140Word Break II
212Word Search II
216Combination Sum III
254Factor Combinations
267Palindrome Permutation II
291Word Pattern II
294Flip Game II
320Generalized Abbreviation
425Word Squares
488Zuma Game
491Increasing Subsequences
526Beautiful Arrangement
676Implement Magic Dictionary
67924 Game
698Partition to K Equal Sum Subsets
718Maximum Length of Repeated Subarray
784Letter Case Permutation
996Number of Squareful Arrays
1087Brace Expansion
1096Brace Expansion II
1219Path with Maximum Gold
1240Tiling a Rectangle with the Fewest Squares
1255Maximum Score Words Formed by Letters
1258Synonymous Sentences
1307Verbal Arithmetic Puzzle
1379Find a Corresponding Node of a Binary Tree in a Clone of That Tree
1593Split a String Into the Max Number of Unique Substrings
1659Maximize Grid Happiness
1718Construct the Lexicographically Largest Valid Sequence
1723Find Minimum Time to Finish All Jobs
1849Splitting a String Into Descending Consecutive Values
1999Smallest Greater Multiple Made of Two Digits
2014Longest Subsequence Repeated k Times
2056Number of Valid Move Combinations On Chessboard
2094Finding 3-Digit Even Numbers
2443Sum of Number and Its Reverse
2664The Knight’s Tour
2698Find the Punishment Number of an Integer
2741Special Permutations
3211Generate Binary Strings Without Adjacent Zeros
3437Permutations III
3565Sequential Grid Path Cover
3669Balanced K-Factor Decomposition
3955Valid Binary Strings With Cost Limit