摘要: 51. N-Queens Input: 4 Output: [ [".Q..", // Solution 1 "...Q", "Q...", "..Q."], ["..Q.", // Solution 2 "Q...", "...Q", ".Q.."] ] Explanation: There ex 阅读全文
posted @ 2020-05-22 22:23 喻解 阅读(170) 评论(0) 推荐(0) 编辑