摘要:
Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You may assume that the 阅读全文
posted @ 2016-04-15 16:42
Miller1991
阅读(218)
评论(0)
推荐(0)
摘要:
Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), prove that at least one duplicate number must exist. 阅读全文
posted @ 2016-04-15 15:23
Miller1991
阅读(219)
评论(0)
推荐(0)

浙公网安备 33010602011771号