Algorithm Designa60b_q3_perimeter
Perimeter
ec73b909-4c0c-4c68-8f38-15d824b1da6d.cppC++
1// Loading code...Selected Submission
100 / 100
0.002s
1592 KB
BFS/DFSGraph
Time Comp.
O(V + E)
Space Comp.
O(V)
Readability
5/10
"The code performs a Breadth-First Search (BFS) on a graph up to a specified depth. It explores the graph level by level, marking visited nodes, which is a standard BFS approach."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #2 | 100 | 3/25/2025 |
| Try #1 | 50 | 3/25/2025 |