Easy
You are given a large integer as an array of digits digits (most significant first). Increment it by one and return the resulting digits.
digits
Input: digits = [1,2,3] Output: [1,2,4]
Input: digits = [9,9] Output: [1,0,0]