← back

Backtracking

93 questions · 0 seen

All Backtracking problems

Problems

⊣ 17 Letter Combinations of a Phone Number
⊣ 22 Generate Parentheses
⊣ 37 Sudoku Solver
⊣ 39 Combination Sum
⊣ 40 Combination Sum II
⊣ 46 Permutations
⊣ 47 Permutations II
⊣ 51 N-Queens
⊣ 52 N-Queens II
⊣ 77 Combinations
⊣ 78 Subsets
⊣ 79 Word Search
⊣ 89 Gray Code
⊣ 90 Subsets II
⊣ 93 Restore IP Addresses
⊣ 95 Unique Binary Search Trees II
⊣ 113 Path Sum II
⊣ 126 Word Ladder II
⊣ 131 Palindrome Partitioning
⊣ 140 Word Break II
⊣ 212 Word Search II
⊣ 216 Combination Sum III
⊣ 257 Binary Tree Paths
⊣ 282 Expression Add Operators
⊣ 301 Remove Invalid Parentheses
⊣ 306 Additive Number
⊣ 357 Count Numbers with Unique Digits
⊣ 401 Binary Watch
⊣ 473 Matchsticks to Square
⊣ 491 Non-decreasing Subsequences
⊣ 494 Target Sum
⊣ 526 Beautiful Arrangement
⊣ 638 Shopping Offers
⊣ 679 24 Game
⊣ 691 Stickers to Spell Word
⊣ 698 Partition to K Equal Sum Subsets
⊣ 756 Pyramid Transition Matrix
⊣ 773 Sliding Puzzle
⊣ 784 Letter Case Permutation
⊣ 797 All Paths From Source to Target
⊣ 816 Ambiguous Coordinates
⊣ 842 Split Array into Fibonacci Sequence
⊣ 949 Largest Time for Given Digits
⊣ 967 Numbers With Same Consecutive Differences
⊣ 980 Unique Paths III
⊣ 988 Smallest String Starting From Leaf
⊣ 996 Number of Squareful Arrays
⊣ 1079 Letter Tile Possibilities
⊣ 1096 Brace Expansion II
⊣ 1219 Path with Maximum Gold
⊣ 1238 Circular Permutation in Binary Representation
⊣ 1239 Maximum Length of a Concatenated String with Unique Characters
⊣ 1240 Tiling a Rectangle with the Fewest Squares
⊣ 1255 Maximum Score Words Formed by Letters
⊣ 1286 Iterator for Combination
⊣ 1307 Verbal Arithmetic Puzzle
⊣ 1415 The k-th Lexicographical String of All Happy Strings of Length n
⊣ 1467 Probability of a Two Boxes Having The Same Number of Distinct Balls
⊣ 1593 Split a String Into the Max Number of Unique Substrings
⊣ 1601 Maximum Number of Achievable Transfer Requests
⊣ 1655 Distribute Repeating Integers
⊣ 1718 Construct the Lexicographically Largest Valid Sequence
⊣ 1723 Find Minimum Time to Finish All Jobs
⊣ 1774 Closest Dessert Cost
⊣ 1799 Maximize Score After N Operations
⊣ 1849 Splitting a String Into Descending Consecutive Values
⊣ 1863 Sum of All Subset XOR Totals
⊣ 1947 Maximum Compatibility Score Sum
⊣ 1980 Find Unique Binary String
⊣ 1986 Minimum Number of Work Sessions to Finish the Tasks
⊣ 2002 Maximum Product of the Length of Two Palindromic Subsequences
⊣ 2014 Longest Subsequence Repeated k Times
⊣ 2044 Count Number of Maximum Bitwise-OR Subsets
⊣ 2048 Next Greater Numerically Balanced Number
⊣ 2056 Number of Valid Move Combinations On Chessboard
⊣ 2065 Maximum Path Quality of a Graph
⊣ 2151 Maximum Good People Based on Statements
⊣ 2178 Maximum Split of Positive Even Integers
⊣ 2212 Maximum Points in an Archery Competition
⊣ 2305 Fair Distribution of Cookies
⊣ 2375 Construct Smallest Number From DI String
⊣ 2397 Maximum Rows Covered by Columns
⊣ 2597 The Number of Beautiful Subsets
⊣ 2698 Find the Punishment Number of an Integer
⊣ 2708 Maximum Strength of a Group
⊣ 2767 Partition String Into Minimum Beautiful Substrings
⊣ 2850 Minimum Moves to Spread Stones Over Grid
⊣ 3211 Generate Binary Strings Without Adjacent Zeros (PRO)
⊣ 3348 Smallest Divisible Digit Product II
⊣ 3376 Minimum Time to Break Locks I
⊣ 3646 Next Special Palindrome Number
⊣ 3669 Balanced K-Factor Decomposition
⊣ 3799 Word Squares II