Open yukisato opened 4 years ago
Otther problems for backtracking for reference My solutions are here
The Knight's Tour https://www.geeksforgeeks.org/the-knights-tour-problem-backtracking-1/
Rat in a Maze https://www.geeksforgeeks.org/rat-in-a-maze-backtracking-2/
8-queens problem https://www.geeksforgeeks.org/n-queen-problem-backtracking-3/
Combination Sum
Solved by DFS. First, I wrote a tree-like graph to think deeply. Then came across the solution which uses DFS.