Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 254 Bytes

File metadata and controls

11 lines (8 loc) · 254 Bytes

Roman to Integer

Given a roman numeral, convert it to an integer.
Input is guaranteed to be within the range from 1 to 3999.

Solutions:

Swift

O(1)

Installation

Run make to build and run Swift files. Or you can run .playground file.