← IBM questions
CodingEasy

Roman to Integer

Filed under IBM · Also reported at InMobi, Zynga

Convert a Roman numeral string to an integer. Roman numerals are represented by symbols I=1, V=5, X=10, L=50, C=100, D=500, M=1000. If a smaller value appears before a larger one, subtract it.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related IBM questions

Collected from public candidate posts and coding forums. Updated Nov 2026.