Problem 12 · Medium

Integer to Roman

Convert a positive integer into Roman numerals by repeatedly taking the largest symbol value that fits. The visual steps through the subtractive pairs such as IV and CM and shows each symbol as it is emitted.

Open the interactive visualisation