摘要:
Majority ElementGiven an array of sizen, find the majority element. The majority element is the element that appears more than⌊ n/2 ⌋times.You may ass... 阅读全文
posted @ 2015-09-06 16:08
Sean_le
阅读(201)
评论(0)
推荐(0)
摘要:
N-Queens IIFollow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.和上题N-Queens几乎一样,... 阅读全文
posted @ 2015-09-06 00:00
Sean_le
阅读(126)
评论(0)
推荐(0)

浙公网安备 33010602011771号