As regards the topic. Here is an example of such a graph: unweighted directed grid graph

  • 1
    $\begingroup$ You want something better than a BFS? $\endgroup$ – Christopher Boo Dec 3 '17 at 1:34
  • $\begingroup$ i guess @ChristopherBoo said the best for this thing is bfs:) $\endgroup$ – Ali.Mollahoseini Dec 4 '17 at 14:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.