What is the problem in this nqueen code here i just try to print all the combinations

hi @rohitkandpal683

  1. just initialise your β€œboard” with 0 and it will not give any garbage values in the output.
  2. If you want to print all config, remove line 57

thanks for help program work now

@rohitkandpal683 please mark the doubt as resolved :slight_smile:

i marked it as resolved previously as well. is it showing resolved now??

1 Like