FastPrepFastPrep
Problem Brief

Romanizer 🐑

INTERNOA

The table below contains some reference values for converting between integers (i.e., Arabic numerals) and Roman numerals:

Given an integer, convert it to its Roman numeral equivalent.

Function Description

Complete the function romanizer in the editor.

The function must return an array of strings that represent the integers as their Roman numeral equivalents.

1Example 1

Input
numbers = [1, 49, 23]
Output
["I", "XLIX", "XXIII"]
Explanation
Looking at the conversions above, 1 is represented as I (capital i), 49 is 40 + 9, so XLIX, and 23 is XXIII. The return array is ['I', 'XLIX', 'XXIII'].

Constraints

Limits and guarantees your solution can rely on.

Unknown for now 🐣
public String[] romanizer(int[] numbers) {
    // write your code here
}
Input

numbers

[1, 49, 23]

Output

["I", "XLIX", "XXIII"]

Sign in to submit your solution.