For this question using matrix


#1

i am using a simple strategy of (+2,+1), (+2,-1), (-2,+1), (-2,-1), (+1,+2), (+1,-2), (-1,+2), (-1, -2) as we can imagine the horse moving for example: 8 8 1 1 8 8 result is coming 4 steps using.