Jav: G-queen

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