Pergunta de entrevista da empresa Pluralsight

The second question was to convert a Roman numeral string to an int