1. by zero发生被0除错误2. Null object reference空对象引用3. Array boundary exceeded数组越界4. Enumerated value is out of range for function枚举值超出函数的范围5. Negative valu...
分类:
其他好文 时间:
2014-10-28 11:52:20
阅读次数:
582
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2014-10-27 22:58:01
阅读次数:
269
The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total number...
分类:
其他好文 时间:
2014-10-27 20:59:08
阅读次数:
164
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:
其他好文 时间:
2014-10-27 19:28:33
阅读次数:
217
题目:Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining...
分类:
移动开发 时间:
2014-10-27 01:44:33
阅读次数:
231
Given a list, rotate the list to the right bykplaces, wherekis non-negative.For example:Given1->2->3->4->5->NULLandk=2,return4->5->1->2->3->NULL.思路:将单...
分类:
其他好文 时间:
2014-10-26 22:47:08
阅读次数:
166
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:
其他好文 时间:
2014-10-26 16:58:18
阅读次数:
134
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:
其他好文 时间:
2014-10-26 16:52:38
阅读次数:
148
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
For example,
Given [0,1,0,2,1,0,1,3,2,1,2,1]...
分类:
移动开发 时间:
2014-10-26 14:26:31
阅读次数:
187
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
Your goal i...
分类:
其他好文 时间:
2014-10-26 14:25:29
阅读次数:
172