摘要: Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.解题思路:回溯法。可以用一个大小为n的一维数组来表示皇... 阅读全文
posted @ 2015-12-19 19:50 ZHOU YANG 阅读(193) 评论(0) 推荐(0)
摘要: 1 、 "关键字" 表示绝对匹配关键字2、A+B 表示搜索结果中要同时包含A、B两个关键词3、A-B 表示搜索结果中包含关键词A,但是不包含关键词B,用于搜索结果的筛选。4、related:url 表示搜索与url对应网页有相似内容的网页5. define:A A的网络定义6. A file... 阅读全文
posted @ 2015-12-19 19:26 ZHOU YANG 阅读(852) 评论(0) 推荐(0)