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 comments
Loading...
Problem Recent Solvers14
Suggested Problems
-
Swap the first and last columns
23007 Solvers
-
Which values occur exactly three times?
5248 Solvers
-
Generate a random matrix A of (1,-1)
430 Solvers
-
715 Solvers
-
665 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!