摘要:
Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.计算N皇后的合法解的数量。解题思路:这次使用了更优化的... 阅读全文
posted @ 2015-09-16 15:46
丶Blank
阅读(163)
评论(0)
推荐(0)
摘要:
Find thekth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.For exampl... 阅读全文
posted @ 2015-09-16 15:42
丶Blank
阅读(188)
评论(0)
推荐(0)

浙公网安备 33010602011771号