摘要:
地址 https://leetcode-cn.com/problems/integer-to-roman/ 罗马数字包含以下七种字符: I, V, X, L,C,D 和 M。 字符 数值 I 1 V 5 X 10 L 50 C 100 D 500 M 1000 例如, 罗马数字 2 写做 II ,即 阅读全文
摘要:
地址 https://leetcode-cn.com/problems/roman-to-integer/ 罗马数字包含以下七种字符: I, V, X, L,C,D 和 M。 字符 数值 I 1 V 5 X 10 L 50 C 100 D 500 M 1000 例如, 罗马数字 2 写做 II ,即 阅读全文
摘要:
地址 https://leetcode-cn.com/problems/rearrange-spaces-between-words/ 给你一个字符串 text ,该字符串由若干被空格包围的单词组成。 每个单词由一个或者多个小写英文字母组成,并且两个单词之间至少存在一个空格。 题目测试用例保证 te 阅读全文