code: https://ide.codingblocks.com/s/78807
could not pass test case 2, 3. What corner cases I am missing
Count nQueens wrong answer
Your code is little bit wrong, since for N=8, no of ways =92, but your code is giving 22, try to modify your code a little bit
I have gone through the code and the tutorial but still couldn’t find the error. Please help.
Passed all the test cases after initializing board array with 0.
Mark your doubt resolved, if you were able to submit it