i used the approach that for any case if the mouse and cat form the diagonals of a square then the mouse can be caught otherwise not (the mouse in between and two cats on other sides of it).but i m not able to get ac.
please correct me if i m wrong and also suggest the correct logic for this problem.
thanks