Join Our 5-Week ML/AI Engineer Interview Bootcamp 🚀 led by ML Tech Leads at FAANGs
Finding the Optimal Route
Finding the optimal route is finding the shortest path given that the node is an intersection and an edge is the road segment. The shortest path algorithm can be solved using Dijkstra’s algorithm which has a runtime complexity of O(nlogn).

B...