#sudhakaratchala #daavideos #daaplaylist
To solve the n×n board problems we have to follow the following constraints.
1.No two Queens are in the same row
2.No two Queens are in the same column
3.No two Queens are in the same diagonal