NQueen problem - Code not working

I tried writing the code for Nqueen problem to print all he configuration but idk why the code is not working and it’s showing the compliation error. Please guide me in sorting it out!

@mvermav19,
check this there was mistake in canPlace function and return type should be void ive commented https://ide.codingblocks.com/s/657953

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.

okay, understood now!
thanks.

1 Like

@mvermav19 cool! :slight_smile: