Majority Element II
摘要:
Given an integer array of sizen, find all elements that appear more than⌊ n/3 ⌋times. The algorithm should run in linear time and in O(1) space.网络上的思路... 阅读全文
posted @ 2015-08-20 15:01 鼬与轮回 阅读(184) 评论(0) 推荐(0) 编辑