Concept Flow - Roman to Integer Conversion
Start with input Roman string
Initialize total = 0, index = 0
Check current and next Roman chars
If current < next: subtract current from total
Else: add current to total
Move index forward
Repeat until end of string
Return total as integer
We scan the Roman string left to right, adding or subtracting values based on the next character, then return the total integer.
