Algorithm Designa58_q3_p3a_hacking

Hacking

dfb2c877-4b2f-49fa-b8cd-4913f81485a1.cppC++
1// Loading code...

Selected Submission

100 / 100
0.056s
5072 KB
Shortest PathBFS/DFS
Time Comp.
O(E log V)
Space Comp.
O(V)
Readability
6/10

"The code implements Dijkstra's algorithm to find the minimum time to reach all nodes in a graph, starting from a set of initial nodes. It uses a priority queue to efficiently explore nodes with the lowest reach time, making it a shortest path problem."

History

AttemptPoints Time
Try #121005/1/2025
Try #111005/1/2025
Try #101004/1/2025
Try #91004/1/2025
Try #81004/1/2025
Try #71004/1/2025
Try #604/1/2025
Try #51004/1/2025
Try #41004/1/2025
Try #3504/1/2025
Try #2904/1/2025
Try #1904/1/2025