Sudoku Solver- doubt in question

Hello sir/ma’am,
I am having a doubt in the question, it’s mentioned that N is a multiple of 3, but sudoku cannot be formed for all multiples of 3, say for example 6,12. So, I think instead of multiple of 3, it should be N is a perfect square like 4,9,16 etc. Or if there is any other use of giving N is a multiple of 3, then please tell me that.

Hello @priyanshi.agarwal3405,

For this question the value of N is always 9 as specified in the constraint.
Constraint:
N=9 Solution exists for input matrix.

Answering your original doubt, yes it should be a perfect square.
But the range of numbers that sudoku would contain would also vary.
Example:
for 4X4 = {1,2,3,4}
for 9X9 = {1,2,3,4,5,6,7,8,9}
so on…

Hope, this has cleared your doubt.
Give a like if you are satisfied.

Ok sir, got it, Thank you.