Integer to Roman
Given an integer, convert it to a roman numeral.
Input is guaranteed to be within the range from 1 to 3999.
Solution:
This problem is simple. Just need to check wiki to understand how to represent a roman number...
Still get bug-free after almost one month break, hooray :)
The following code passes LeetCode Online Large Judge.
Comments
Post a Comment