Programming Question: Leetcode — 12
Approach to solve leetcode 12 question — Integer to Roman
- This question is quite easy to solve , we just have to declare mappings properly .
- After that, we will loop through the mapping and keep decrementing number if it exists in mapping and simultaneously adding corresponding roman into the result.
- return the result in end