20 views
22 Dec 2025
Given an N x N chessboard place N queens such that no two queens attack each other using backtracking....
18 views
22 Dec 2025
Generate all possible permutations of a string using backtracking and recursion....
20 views
22 Dec 2025
Generate all subsets of a given array using backtracking....
15 views
22 Dec 2025
Find all combinations that sum to a target where numbers can be reused....
19 views
22 Dec 2025
Find unique combinations that sum to target where each number is used once....
16 views
22 Dec 2025
Generate all valid combinations of balanced parentheses....
17 views
22 Dec 2025
Check if a word exists in a grid using backtracking....
18 views
22 Dec 2025
Solve a partially filled Sudoku board using backtracking....
21 views
22 Dec 2025
Find all paths from source to destination in a maze using backtracking....
18 views
22 Dec 2025
Visit all squares of a chessboard using a knight exactly once....
19 views
22 Dec 2025
Partition a string into all palindromic substrings....
20 views
22 Dec 2025
Generate all valid IP addresses from a digit string....
18 views
22 Dec 2025
Generate all letter combinations from phone digits....
20 views
22 Dec 2025
Color a graph using M colors without adjacent conflicts....
16 views
22 Dec 2025
Determine if a Hamiltonian path exists in a graph....
15 views
22 Dec 2025
Check if array can be partitioned into K equal sum subsets....
22 views
22 Dec 2025
Generate binary strings of length N without consecutive ones....
16 views
22 Dec 2025
Remove minimum invalid parentheses to make string valid....
16 views
22 Dec 2025
Find all paths in grid with obstacles using backtracking....
15 views
22 Dec 2025
Break a string into dictionary words using backtracking....