Problem 54810. Length of shortest path in a directed graph.
Given a directed graph and a start and end node in the graph, return the minimum number of hops required to reach the end node from the starting node.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers12
Suggested Problems
-
Given two arrays, find the maximum overlap
1711 Solvers
-
Back to basics 19 - character types
271 Solvers
-
Magic is simple (for beginners)
11075 Solvers
-
Fermat's Last Theorem - Fermat's conjecture
107 Solvers
-
Sum the numbers on the main diagonal
609 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!