Topic | Difficulty | Companies
Mathematical Algorithms| Medium | Amazon|Microsoft|Facebook|Twitter
Given a string S r...
For further actions, you may consider blocking this person and/or reporting abuse
A few years ago I had an exercise like this one given to me by my teacher where I had to converse, sum and subtract numbers in roman. I remember that a solution I found to do that was turning the numbers in roman to the values of I (1 in roman), so V = IIIII, X = IIIIIIIIII, etc.
Nice post kumaresan.
Can I request to format and highlight code snippets?
You can refer to the Editor Guide for more info.