Please check the code for n queen problem


where i am wrong

Hello @dkroy8790,

There is a small mistake in your code:

I have corrected it. Refer to comment.

Hope, this would help.
Give a like if you are satisfied.