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
-
6098 Solvers
-
237 Solvers
-
Change the sign of even index entries of the reversed vector
659 Solvers
-
Sum the elements in either diagonal of a square matrix
222 Solvers
-
Replace multiples of 5 with NaN
470 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!