Google Interview Question

Given array representing a digit (234 = {2, 3, 4}) write a function to increment the number.

Interview Answer

Anonymous

Feb 14, 2019

If not 9 increment else put 0 check next number.