Concept Flow - Roman to Integer Conversion
Start with total=0 and index=0
Read current Roman symbol
Check if next symbol exists and is larger?
Subtract current
Move index by 2
Back to start if index < length
Return total
↩Back to start if index < length
We read each Roman symbol, decide to add or subtract based on the next symbol, then move forward until all symbols are processed.