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
-
Return the largest number that is adjacent to a zero
5549 Solvers
-
Project Euler: Problem 5, Smallest multiple
1680 Solvers
-
206 Solvers
-
1198 Solvers
-
07 - Common functions and indexing 1
455 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!