Sample test cases are not given right

Hi , the output for the sample test cases provided is wrong
as there are 2 knights and output of certain sample test cases contain only 1 knight like {0,0} (0,1}

No they are all the spaces where 2 knights can be kept.
Size of board is 2 X 2.
These are all the possible combinations.

11 00

10 10

10 01

01 10

01 01

00 11

I think these are the possible solns . and all of them were not mentioned in the sample output

Two knights are placed in the same spot according to you. So your’s is wrong.

The answer is 6 ways, because you can choose first cell in 4 ways, then all other 3 cells can be used as well. So 43, now arrangement is not important, so divide the answer by 2. (43)/2 = 6 ways.

Sir I am not saying the the answer is wrong . For the question , they have also mentioned to print the board for each combination . There , for certain answers , only 1 knight is present (which is not possible for n=2 as there must be n boards) .That is what I am trying to communicate to you

N means there is only one board of size N x N
They have written the corresponding positions of knights on the board.
There are 4 cells.
{0-0} {0-1} means knight

Cross means these cells are occupied.

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.