Fetching algorithms...
digits = [1,2,3]
[1,2,4]
digits = [4,3,2,1]
[4,3,2,2]
digits = [9]
[1,0]
digits = [9,9]
[1,0,0]
digits = [1,9]
[2,0]
Time Complexity
Space Complexity
Imagine we have the number 99, but each digit lives in its own magic box! Our mission: Add 1 to the whole number.