Jav G-queen Instant

Given an integer n , return all possible configurations of the board where n queens can be placed without attacking each other.