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: add (next - current)
Else: add current to total
Move index forward (1 or 2 steps)
Repeat until end of string
Return total as integer
The flow reads Roman numerals left to right, adding or subtracting values based on the next character, accumulating the total integer.
