Doubt in condition defined for NQueen

In the video of Backtracking.NQueen, it is given that we can save few of our calls by exploring the next row after placing the queen.
However, in case of QueenCombination2DKill also, this condition satisfies that no 2 queens can exist in same row. So can’t we use this condition there?

Hey @riyajain2372_a386c6cc4ebaf1b9 Yes you can definitely use this in condition QueenCombination2DKill also.

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.