Bloomberg interview question

Leetcode Roman numeral to integers