Domanda di colloquio di IBM

Question about data structures with roman numerals