1 /// 2 /// Solution 3 /// 通过率 100% 4 /// 5 /// 6 /// 7 public static int solution(int[] ...
分类:
其他好文 时间:
2015-07-25 07:03:45
阅读次数:
119
1 /// 2 /// Solution 3 /// 通过率 100% 4 /// 5 /// 6 /// 7 /// 8 /// 9 pub...
分类:
其他好文 时间:
2015-07-25 01:43:10
阅读次数:
98
1 /// 2 /// Solution A 3 /// 通过率 100% 4 /// 5 /// 6 /// 7 /// 8 public int[] sol...
分类:
其他好文 时间:
2015-07-25 01:42:13
阅读次数:
101
1 /// 2 /// Solution 3 /// 通过率 100% 4 /// 5 /// 6 /// 7 public static int solution(int[] ...
分类:
其他好文 时间:
2015-07-25 01:42:10
阅读次数:
193
1 /// 2 /// Solution 3 /// 通过率 100% 4 /// 5 /// 6 /// 7 /// 8 public static int ...
分类:
其他好文 时间:
2015-07-25 00:12:02
阅读次数:
106
1 /// 2 /// Solution 3 /// 通过率 100% 4 /// 5 /// 6 /// 7 public static int solution(int[] ...
分类:
其他好文 时间:
2015-07-24 23:57:13
阅读次数:
215
1 /// 2 /// Solution A 3 /// 通过率 100% 4 /// 5 /// 6 /// 7 public static int solution(int[...
分类:
其他好文 时间:
2015-07-16 02:05:23
阅读次数:
106
Divide Two Integers
Divide two integers without using multiplication, division and mod operator.
If it is overflow, return MAX_INT.
思路:这个题算法上不是很难,但是通过率相当低,只有15%,果然,自己在写完之后,各种出错,而且错误不是算法上...
分类:
其他好文 时间:
2015-07-08 09:38:07
阅读次数:
115
这个题。。是要把字符串转为整数。注意是整数,我看到整数的时候松了一口气,没有小数点的判断应该更好做。而且基本的转化函数我想每个程序员都无法忘记:res=res*10+(str[i]-'0');其实就是这么一句话的事情,然而这个题的通过率只有13%,在200多个题目中排名第五。本想不看提示自己写了一些...
分类:
其他好文 时间:
2015-07-07 12:37:50
阅读次数:
113
题目Single Number通过率45.1%难度Medium Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should ...
分类:
其他好文 时间:
2015-07-06 21:21:09
阅读次数:
98