Optiver
Interview Question
Senior Software Engineer Interview
Optiver
Given a graph and two vertices, implement Dijkstra's algorithm to find the shortest distance between the pair. Additionally, return an error if there are multiple shortest paths with the same distance between the vertices.
Unlock the Full Solution
Enter your email to get instant access to the complete solution, explanation, and similar practice problems.

