Infosys interview question

Leetcode medium , integer to roman question