![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
位操作
Vendredimatin
这个作者很懒,什么都没留下…
展开
-
Lintcode 83. 落单的数 II
给出3*n + 1 个的数字,除其中一个数字之外其他每个数字均出现三次,找到这个数字 public int singleNumberII(int[] A) { // write your code here //https://blog.csdn.net/ys_sarah/article/details/51025910 if(A == null || A.len...转载 2018-10-07 11:32:18 · 164 阅读 · 0 评论 -
Lintcode 84. 落单的数 III
给出2*n + 2个的数字,除其中两个数字之外其他每个数字均出现两次,找到这两个数字。 dalao解法: public List<Integer> singleNumberIII(int[] A) { // write your code here //https://blog.csdn.net/wutingyehe/article/details/5108530...转载 2018-10-07 11:40:07 · 157 阅读 · 0 评论 -
leetcode 268. Missing Number
268. Missing Number Given an array containing n distinct numbers taken from 0, 1, 2, …, n, find the one that is missing from the array. Example 1: Input: [3,0,1] Output: 2 Example 2: Input: [9,6,4,2,3...原创 2019-05-13 20:59:38 · 95 阅读 · 0 评论