i m getting runtime error can u pls tell me where have i gone wrong
N_queen problem
Your code was producing wrong output in case of sample case input. I have edited your code a little bit, try to submit now,
And plz make changes to your board array as per the input array constraint in your question.
thankyou so much
what was the error?