12. Integer to Roman (integer to Roman numeral)
Link: https://leetcode-cn.com/problems/integer-to-roman /
Title:
Roman numerals contain the following seven characters: I, V, X, L,
12. Integer to Roman (integer to Roman numeral)
Link: https://leetcode-cn.com/problems/integer-to-roman /
Title:
Roman numerals contain the following seven characters: I, V, X, L,
This question is not difficult, it is a tricky thing.
public class integerToRoman12 {
public String intToRoman(int< /span> num) {
StringBuilder sb = new StringBuilder();
int[] values = {