Given an integer, convert it to a roman numeral.
Input is guaranteed to be within the range from 1 to 3999.
Solution
- Use two well designed table to record nums and associated romans
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
Given an integer, convert it to a roman numeral.
Input is guaranteed to be within the range from 1 to 3999.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|