int x=0, DONE;
// What does this signify
What is the meaning of DONE keyword?
hi @devesh20500, DONE is defined as DONE = ((1<<n) - 1); which evaluates to 11111… (n times) . since rowmask denote which position (columns) in all rows are filled.thus rowmask == DONE denotes that all column has one queen in a valid position
here’s the code from the vedio : http://ide.codingblocks.com/s/281
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.