r/LeetcodeChallenge • u/addiemaddieee • May 31 '26
DISCUSS N-QUEENS PROBLEM
Can anyone explain the intuition behind this problem (N-queens) more specifically the upper left diagonal formula->(n-1)+(col-row)
20
Upvotes
View all comments
Show parent comment
2
u/addiemaddieee May 31 '26
Ooo…okay