Total Accepted: 86284
Total Submissions: 264435
Difficulty: Easy
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.
Java:
1 | public class Solution { |