Question d’entretien chez LinkedIn

Roman to integer, Nested List Weight Sum