https://oj.leetcode.com/problems/n-queens-ii/