Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Reverse Integer (Easy 7)

Given a 32-bit signed integer, reverse digits of an integer.

Solution:

Click here Iterate over digit with mod 10, add digits to result. O(log n) time. O(1) space.



Installation

Run make to run python and Swift files.