@@ -0,0 +1,1329 @@
+public class Solution %7B%0A    public String intToRoman(int num) %7B%0A        /* We can use recursion to solve this. */%0A        /* Special case happened when an integer is one, ten or one hundred less than the new roman letter number. */%0A        %0A        if (num %3E= 1000)%7B%0A            return %22M%22 + intToRoman(num - 1000);%0A        %7D%0A        if (num %3E= 900)%7B%0A            return %22CM%22 + intToRoman(num - 900);%0A        %7D%0A        if (num %3E= 500)%7B%0A            return %22D%22 + intToRoman(num - 500);%0A        %7D%0A        if (num %3E= 400)%7B%0A            return %22CD%22 + intToRoman(num - 400);%0A        %7D%0A        if (num %3E= 100)%7B%0A            return %22C%22 + intToRoman(num - 100);%0A        %7D%0A        if (num %3E= 90)%7B%0A            return %22XC%22 + intToRoman(num - 90);%0A        %7D%0A        if (num %3E= 50)%7B%0A            return %22L%22 + intToRoman(num - 50);%0A        %7D%0A        if (num %3E= 40)%7B%0A            return %22XL%22 + intToRoman(num - 40);%0A        %7D%0A        if (num %3E= 10)%7B%0A            return %22X%22 + intToRoman(num - 10);%0A        %7D%0A        if (num %3E= 9)%7B%0A            return %22IX%22+ intToRoman(num - 9);%0A        %7D%0A        if (num %3E= 5)%7B%0A            return %22V%22 + intToRoman(num - 5);%0A        %7D%0A        if (num %3E= 4)%7B%0A            return %22IV%22 + intToRoman(num - 4);%0A        %7D%0A        if (num %3E= 1)%7B%0A            return %22I%22 + intToRoman(num - 1);%0A        %7D%0A        return %22%22;%0A    %7D%0A%7D

intToRoman question