| ID | Code | Problem Name | Solution | Time | Space | Note |
|---|---|---|---|---|---|---|
| 00 | Rate in a Maze | C++ | O(4^(N * M)) |
O(N * M) |
||
| 01 | 698 | Partition to K Equal Sum Subsets | C++ | O(K * (2^N)) |
O(N) |
|
| 02 | 797 | All Paths From Source to Target | C++ | O(2^N) |
O(N) |
|
| 03 | 51 | N-Queens | C++ | O(N!) |
O(N^2) |
|
| 04 | 52 | N-Queens II | C++ | O(N!) |
O(N^2) |
|
| 05 | 37 | Sudoku Solver | C++ | O(9^(N^2)) |
O(1) |
|
| 06 | 46 | Permutations | C++ | O(N!) |
O(N!) |
|
| 07 | 47 | Permutations II | C++ | O(N!) |
O(N!) |
backtracking
Directory actions
More options
Directory actions
More options
backtracking
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||