in video explained by pratik bhaiya
he has not checked in the row , i.e left of the current position please explain that.
N - queen using backtracking
got it because we cant place in the same row
For n-queen problem, you are only required to check 3 things : if queen is present in a current column, if queen is present in left diagonal of the current position and if the queen is present in the right diagonal of current position, there is no need to check for row… I hope you understood it…
ya i got it
thank you!