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 value
Else: add current value
Move index forward by 1
Repeat until end of string
Return total as integer
We scan the Roman numeral string from left to right, adding or subtracting values based on the order of symbols, until the entire string is processed.
