算法
leonard1853
这个作者很懒,什么都没留下…
展开
-
LeetCode 136. Single Number
从今天起,每天坚持一道算法题,有时间就发到博客中,坚持!!!为了以后面试更从容。 先来一道简单的: 136. Single Number Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should...2016-02-03 11:21:02 · 107 阅读 · 0 评论 -
LeetCode 137. Single Number II
再来一道,刷简单题。 137. Single Number II Given an array of integers, every element appears three times except for one. Find that single one. Note:Your algorithm should have a linear runtime complex...2016-02-03 11:34:59 · 92 阅读 · 0 评论 -
LeetCode 260. Single Number III
升级版: 260. Single Number III Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements that appear only...2016-02-03 13:36:39 · 96 阅读 · 0 评论