Meta interview question

Using array to implement integer+1