
描述
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.
分析
没什么好分析的,循环进位。
代码
Python
1 |
class (object): |

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 |
class (object): |
近期评论