|
|
back to boardIsn't it just a wave? Why i have WA11? I use a wave algo with a queue and edgecency matrix. But there is no mistake. When I wrote a O(m*n) algo it TLE'd on test #16. Re: Isn't it just a wave? Your algo is wrong! Use topological sort for solve this problem. Re: Isn't it just a wave? Your algo is wrong! Use topological sort to solve this problem. Re: Isn't it just a wave? >> Your algo is wrong! >> Use topological sort to solve this problem There is no need in topological sort for this problem, I've got AC with just a simple wave. |
|
|