【LeetCode】169. Majority Element 解题小结
摘要:
题目: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 阅读全文
posted @ 2016-08-23 13:26 医生工程师 阅读(120) 评论(0) 推荐(0) 编辑