mahmoud_arafa's blog

By mahmoud_arafa, 10 years ago, In English

Hello everyone.

Here is the problem link.

Here is my code link.

BFS works right but my idea takes too long time to process. I tried to optimize it as much as possible but I couldn't optimize anymore. Any help?

Tags bfs
  • Vote: I like it
  • -1
  • Vote: I do not like it

| Write comment?
»
10 years ago, # |
  Vote: I like it +2 Vote: I do not like it

but this problem is much easier than you think :)) 10834744