ltx_zero

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2019年4月23日

摘要: Num 169 先码,回头再说,摩尔算法。。。 tle了 class Solution { public: int majorityElement(vector<int>& nums) { int len=nums.capacity(); int count=1; int now=nums[0]; 阅读全文
posted @ 2019-04-23 00:30 ltx_zero 阅读(111) 评论(0) 推荐(0) 编辑