LeetCode 169. Majority Element(众数)
原题网址:https://leetcode.com/problems/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 as
原创
2016-05-25 01:37:08 ·
1609 阅读 ·
0 评论