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.
//题意:一个整数按位存储于一个int数...
分类:
其他好文 时间:
2015-12-17 01:52:04
阅读次数:
231
问题描述: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 ...
分类:
编程语言 时间:
2015-12-16 17:03:48
阅读次数:
151
原题链接在这里:https://leetcode.com/problems/plus-one/特殊情况是 全是9时需要新建一个数组。Time Complexity: O(n), Space O(n).AC Java: 1 public class Solution { 2 public in...
分类:
其他好文 时间:
2015-12-05 07:12:29
阅读次数:
117
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...
分类:
其他好文 时间:
2015-11-27 23:35:14
阅读次数:
174
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...
分类:
其他好文 时间:
2015-11-26 14:43:22
阅读次数:
120
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...
分类:
其他好文 时间:
2015-11-02 15:20:30
阅读次数:
149
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 di...
分类:
其他好文 时间:
2015-11-02 06:42:48
阅读次数:
175
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...
分类:
其他好文 时间:
2015-10-23 10:12:56
阅读次数:
137
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...
分类:
其他好文 时间:
2015-10-05 09:18:50
阅读次数:
171
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...
分类:
其他好文 时间:
2015-09-22 10:11:38
阅读次数:
130