HELP || Funky Chess Board || Need some help


MySolution

I’m getting 1/3 test cases correct and rest as WA.

  1. I’ve assumed that the top-left square will always be “1” (visit-able) and that we always have to start from it. (is this correct?)

Please help me