Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Plus One (Easy 66)

Given a non-empty array of digits representing a non-negative integer, plus one to the integer.

Solution:

Click here Iterate over array backwards, saving carry and create new resulting array. O(n) time, O(n) space.



Installation

Run make to run python and Swift files.