Show Buttons
Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkdin
Share On Reddit
Contact us
Hide Buttons

increment an integer array by one


Problem

Given an integer array, increment its numeric value by one.
For example,

increment([2, 7, 3]) returns [2, 7, 4]


Solution


You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *