Algorithm Designex07e1_nqueen
N Queen
93278eda-ad85-45a0-99db-6d80597c0cfd.cppC++
1// Loading code...Selected Submission
100 / 100
0.077s
1524 KB
BacktrackImplementation
Time Comp.
O(N!)
Space Comp.
O(N)
Readability
7/10
"The code implements a backtracking algorithm to solve the N-Queens problem, systematically exploring possible queen placements and pruning branches that violate the problem constraints. It uses recursion to explore the solution space."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #3 | 100 | 4/19/2025 |
| Try #2 | 100 | 4/13/2025 |
| Try #1 | 100 | 4/13/2025 |