Top 50
Topic roadmap
Updated weekly · Last refresh Nov 4

Top 50 shortest path Interview Questions

The most frequently asked shortest path questions across all roles and companies, ranked by real interview frequency. Updated daily.

50questions
~16htotal time
64companies covered
Track your progressSign up free to work through all 50 questions and resume where you left off.
Start practicing free →
1
shortest pathStart here. 40 questions · ~777 min
Shortest Path in Weighted GraphHard
Practice
Recently asked

Use Dijkstra’s algorithm with a priority queue to find the shortest path in a weighted graph with non-negative edges.

shortest pathAlgorithmsGraphsSuccessKPITikTok ShopYelp
Shortest Path on a 2D GridMedium
Practice
Recently asked

Use BFS to find a shortest four-directional path through an Amazon Robotics warehouse grid.

shortest pathMotionalHigh 5 GamesAmazon
Dynamic Shortest Paths with UpdatesHard
Practice
Recently asked

Maintain a dynamic weighted graph and recompute shortest path after each edge update using Dijkstra and a min-heap.

shortest pathAlgorithmsGraphsPalantir technologies
Shortest Path in 3D GridHard
Practice
Recently asked

Use Dijkstra's algorithm to find the least-cost collision-free path through a weighted 3D GM Factory ZERO grid.

shortest pathAlgorithmsGeneral Motors (GM)Prenuvo
BFS Shortest Path in Dynamic GridHard
Practice

Use time-aware BFS to find the shortest traversable path through a changing Rockstar Games world grid.

shortest pathbfsGraphsRockstar GamesThe Misch Group
Shortest Root-to-Leaf PathMedium
Practice
Recently asked

Use depth-first traversal to find the shortest root-to-leaf path with O(h) auxiliary space.

shortest pathdfsData StructuresIntuit
More shortest path questions with a free account

Sign up to see every question

Create a free account to unlock this list and practice real interview questions.

Get my prep plan
2
Arrays3 questions · ~58 min
Grid Pathfinding With ObstaclesHard
Practice
Recently asked

Use BFS to find the minimum eight-direction path through an obstructed 2D grid.

Arraysshortest pathbfsAAiDashSupermicroMeta
More Arrays questions with a free account
3
More topics7 questions · ~136 min
Find Shortest Distance Between CitiesMedium
Practice
Recently asked

Use Dijkstra's algorithm to find the minimum travel distance between two cities in a weighted graph.

coding challengeshortest pathData StructuresGoldman Sachs Asset & Wealth Management
More questions with a free account
The finish line: interview-readyComplete all 50 questions to finish this plan.