Can you elaborate how anser 1 is comming and explain problem in more details what askinn in it.
Not Able to conclude what asking in problem
suppose it as a chess board, you have a knight, starting from 0,0 you have to tell which are the squares denoted by 1, which you can’t reach.
1 1 1
1 1 1
1 1 1