LeetCode Top Interview 150 · BFS Shortest Path (Unweighted)

Standard BFS where each edge has equal weight, so the first time a node is reached is guaranteed shortest.

Sheet Problems: 3
Category: Graphs

Featured Problems (3)

Explore More Patterns in LeetCode Top Interview 150

Track your progress across all 150 problems in this curriculum roadmap.