You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// You're given a N*N chessboard which initially has some queens present at some of the places on the chessboard. Find if you can place N queens on the chessboard such that no queen can attack any other queen. An empty cell is shown by '.' and a queen is shown by 'Q'.