摘要:
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-06 22:45 骄阳照林 阅读(136) 评论(0) 推荐(0)
|
|
|
|
摘要:
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-06 22:45 骄阳照林 阅读(136) 评论(0) 推荐(0) |
|