Convert a Roman Number to Decimal using Hashmap in Java
Given a Roman numeral, the task is to find the corresponding decimal value. Note: Roman numerals are represented by seven different symbols: I, V, X, L, C, D, and M. Examples: Input: âIIIâ Output: 3 Input: âMDCCLXâ Output: 1760 Approach: Loop through each character in the string containing the Roman