LINK TO THE CODE KINDLY EDIT AND SEND ME THE CODE
Only test case 2 is not passing
Hey @pradumnshukla
Test case 2 is N = 13
Your code has N = 10 as max
Please accommodate this change
And your approach might get TLE after that
To solve for N = 13 you need backtracking with bit masking approach for N-Queen
KINDLY SEND THE EDITTED CODE PLEASE
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.