|
|
back to boardAbout using BFS Posted by skrcode 27 Jun 2014 01:14 BFS solution gets accepted.. but it fails in many cases. However the perfect solution to be used is Dijkstra's. The test cases do not contain cases where cycles terminate at nodes in between source and destination. |
|
|