Algorithm Designex03h1_square
Square Map
02a84bde-e3a5-4c54-9512-27169f5b3ff5.cppC++
1// Loading code...Selected Submission
100 / 100
0.026s
5372 KB
ImplementationDP
Time Comp.
O(x*y)
Space Comp.
O(x*y)
Readability
4/10
"The code iterates through a grid and updates cell values based on neighboring cells, effectively finding the maximum size of a square subgrid filled with '1's. This involves checking conditions and updating values based on those conditions, making it primarily an implementation-focused problem with some dynamic programming concepts."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #8 | 100 | 2/19/2025 |
| Try #7 | 10 | 2/19/2025 |
| Try #6 | 0 | 2/19/2025 |
| Try #5 | 30 | 2/19/2025 |
| Try #4 | 30 | 2/19/2025 |
| Try #3 | 30 | 2/19/2025 |
| Try #2 | 0 | 2/19/2025 |
| Try #1 | 0 | 2/19/2025 |