if we write return false in base case then when do recursion stop…
N queen problem
If you want to print all possible configurations for the N queen problem…then you return false. So it will stop when no more possible configurations are left
But how does recursion working in this… When will recursion stop
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.