2015年7月9日

[LeetCode]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 @ 2015-07-09 21:49 攀登技术之巅 阅读(183) 评论(0) 推荐(0)

导航