N queen problem 1 test case wrong

1 test case is coming wrong in this code

@rastogi.g1998 share your code using cb ide so that i can look

thank you but solved