Sir i dont know how kight moves and question output is also not clear to me so please explain the testcase so that i can proceed

sir i dont know how kight moves and question output is also not clear to me so please explain the testcase so that i can proceed

Knight atttacks at a distance of 2.5 as we sat in chess. That means suppose you are at position (x,y) , then assuming the chess board is infinite your legal moves are (x+2,y-1),(x+2,y+1),(x+1,y+2),(x+1,y-2),(x-1,y+2),(x-1,y-2),(x-2,y+1),(x-2,y-1)

sir from your side, every time complete answer is not provided so please go through the question again

and read it complete , (i am asking for 1 more test case to understand the question other then test case given here)

for n = 3, the answer should be 36, some of the arrangements are {{0, 0}{0, 1}{0, 2}}, {{0, 0}, {0, 1}, {1, 0}}, {{0, 0}, {1, 1}, {2, 2}}. Don’t ask for listing more arrangements, we are not supposed to feed you the answer blatantly

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.