This is leetcode's problem number 12 with difficulty level set to medium. What we did last time is to compare current and next roman characters and perform basic addition and subtraction. This problem is almost similar with a little extra space. What do I mean by extra space? Well, let'...
Listing 1: RomanToNumber.cs Figure 2: Code snippet in listing 1 runs against all the test cases in LeetCode