Algorithm Designa67_q1b_shoot_em_up
Shoot Em Up
504a064f-194b-4f6b-a55f-2c92d482ff15.cppC++
1// Loading code...Selected Submission
100 / 100
0.107s
1480 KB
BacktrackImplementation
Time Comp.
O(3^maxTime)
Space Comp.
O(maxTime)
Readability
6/10
"The code uses recursion to explore all possible paths ('D', 'S', 'U') within given time and height constraints, effectively searching for valid sequences. This is a classic backtracking approach to explore a solution space."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #3 | 100 | 2/26/2025 |
| Try #2 | 100 | 2/26/2025 |
| Try #1 | 10 | 2/26/2025 |