摘要: ##Roman to Integer > Given a roman numeral, convert it to an integer.首先介绍罗马数字罗马数字共有七个,即I(1),V(5),X(10),L(50),C(100),D(500),M(1000)。按照下面的规则可以表示任意正整数。重复... 阅读全文
posted @ 2015-07-01 21:57 包子糖Sakura 阅读(1265) 评论(0) 推荐(0)
摘要: Longest Common PrefixWrite a function to find the longest common prefix string amongst an array of strings.题目的意图It seems that it is not to check betwe... 阅读全文
posted @ 2015-07-01 16:50 包子糖Sakura 阅读(159) 评论(0) 推荐(0)