What is the complexity of Dijkstra's shortest-path algorithm? — O(e log v), where e is the number of edges. It must scan each edge, and gets and updates values on the heap.
G
1.2K
Google Interview
This flashcard deck made by jwasham contains knowledge about google interview. For more details, please follow https://github.com/jwasham/google-interview-university