LinkedIn interview question

Roman to Integer, Integer to Roman