Leetcode 66: Plus One

Straightforward. Just add one to the rightmost number and then perform a carry to next significant digits if necessary.

This entry was posted in programming and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published.