07 2014 档案

数组中出现次数超过一半的数字
摘要://方案一: O(N)? 不适合海量数据int* maxK(int A[] , const int& n, const int& k){ if(np) --end; if(begin>=end) return begin; swap(A[begin],A[end]); ... 阅读全文

posted @ 2014-07-22 17:04 Sara Chi 阅读(121) 评论(0) 推荐(0)