leetcode: N-Queens II