Shortest Path Between Two Nodes in a Graph
Given an unweighted graph and two nodes, find the shortest path between them. Return the minimum number of edges required to travel from the source node to the destination node.
Asked at:
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Early April, 2026
Mid-level
Hello Interview Premium
Your account is free and you can post anonymously if you choose.