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 Solvers10
Suggested Problems
-
1224 Solvers
-
294 Solvers
-
Back to basics 18 - justification
199 Solvers
-
Combinations without using nchoosek
128 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1073 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!