LeetCode 51. N-Queens(N皇后)
原题网址:https://leetcode.com/problems/n-queens/
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.
Given an integer n, retu
原创
2016-05-21 06:21:29 ·
559 阅读 ·
0 评论