Ad
  • Custom User Avatar

    Am i wrong?

    I don't know if you are wrong. It may be a good exercise but there are more straightforward approaches. The input is just a 8 * 8 array.

  • Custom User Avatar

    You are on the wrong track. No need no graph theory to solve it.