Fetching algorithms...
n = 4
[[".Q..","...Q","Q...","..Q."],["..Q.","Q...","...Q",".Q.."]]
n = 1
[["Q"]]
Time Complexity
Space Complexity