Search
⌘K

Leetcode 13. Roman to Integer

Convert a valid Roman numeral string into its integer value by applying the additive and subtractive rules (e.g., IV = 4, IX = 9, CM = 900) — parse characters and handle lookahead to detect subtraction pairs. Input is a valid Roman numeral (length ≤15) representing 1..3999.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.