摘要: LeetCode169. Majority Element Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋  阅读全文
posted @ 2016-12-28 21:17 wangxiaobao1114 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 136. Single Number Given an array of integers, every element appears twice except for one. Find that single one. (Easy) Note:Your algorithm should hav 阅读全文
posted @ 2016-12-28 21:02 wangxiaobao1114 阅读(157) 评论(0) 推荐(0) 编辑