One test case is failing please check

one test case is failing please check code ide is -

You can’t apply the basic N-Queen approach for N upto 15. It will lead to WA. Think of it using bitmasking.