-
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
Computer Science Stack Exchange is a question and answer site for students, researchers and practitioners of computer science. It only takes a minute to sign up.
Sign up to join this community