You are given a large integer represented as an integer array digits, where each digits[i] is the ith digit 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 leading 0's
Increment the large integer by one and return the resulting array of digits.
Input Format:
The first line contains an integer, (the size of our array). The second line contains space-separated integers that describe array 's elements.
Sample Input 0
3
1 2 3
Sample Output 0
1 2 4
Nesta página do site você pode assistir ao vídeo on-line Leet code Array plus one solved(array basic challenge) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Code With Prince 01 Janeiro 1970, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 38 vezes e gostou 1 espectadores. Boa visualização!