Some Direction needed :/

Revision en2, by antivenom, 2015-08-09 11:17:31

Hi everyone,I am learning Graphs for few days so every question looks graph to me.I tried this question and thought of graph(bfs) but for some reason it is running indefinitely.Any help appreciated :).Link solution

Tags help, graph

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English antivenom 2015-08-09 11:17:31 2 Tiny change: 'problem/342/C) and th' -> 'problem/344/C) and th'
en1 English antivenom 2015-08-09 11:06:41 316 Initial revision (published)