小小程序媛  
得之坦然,失之淡然,顺其自然,争其必然

2015年10月2日

摘要: 题目Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.分析N皇后问题,同LeetCod... 阅读全文
posted @ 2015-10-02 20:24 Coding菌 阅读(173) 评论(0) 推荐(0) 编辑
 
摘要: 题目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,... 阅读全文
posted @ 2015-10-02 20:04 Coding菌 阅读(183) 评论(0) 推荐(0) 编辑