66. Plus OneEasy
You are given a large integer represented as an integer array
digits, where eachdigits[i]is theithdigit of the integer. The digits are ordered from most significant to least significant in left-to-right order. The large integer does not contain any leading0's.Increment the large integer by one and return the resulting array of digits.
- Problem
- Solutions