Genesys Interview Question

Roman to Integer leetcode