N queens ii leetcode