Given a non-negative number represented as a singly linked list of digits, plus one to the number. The digits are stored such that the most significan ...
分类:
其他好文 时间:
2016-08-27 14:04:38
阅读次数:
114
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 a ...
分类:
其他好文 时间:
2016-08-22 07:08:14
阅读次数:
168
LeetCode)Plus One --- 加一...
分类:
其他好文 时间:
2016-08-12 18:27:20
阅读次数:
195
66.PlusOneGivenanon-negativenumberrepresentedasanarrayofdigits,plusonetothenumber.Thedigitsarestoredsuchthatthemostsignificantdigitisattheheadofthelist.题目大意:将一个数字的各位都放在一个数组中,给这个数字加1,求得到的新数组。高位在前。classSolution{
publi..
分类:
编程语言 时间:
2016-08-09 00:28:33
阅读次数:
313
Question:
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 the head of the list.
加1得...
分类:
其他好文 时间:
2016-08-03 10:40:03
阅读次数:
139
Given a non-negative number represented as a singly linked list of digits, plus one to the number. The digits are stored such that the most significan ...
分类:
其他好文 时间:
2016-08-03 01:24:13
阅读次数:
155
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 a ...
分类:
其他好文 时间:
2016-07-11 00:57:45
阅读次数:
174
I use a stack. Of course you can simply trace nodes with 9s - https://leetcode.com/discuss/111127/iterative-two-pointers-with-dummy-node-java-o-n-time ...
分类:
其他好文 时间:
2016-06-30 06:22:59
阅读次数:
117