摘要: Write a function to find the longest common prefix string amongst an array of strings. 题意:编写一个函数来查找字符串数组中最长的公共前缀字符串。 例如:['abc','ab','a'],输出a 思路:从任意一个字 阅读全文
posted @ 2017-12-28 10:28 十二Zh 阅读(97) 评论(0) 推荐(0)
摘要: 题意:输入一个罗马数字,把它转化成对应整数 阅读全文
posted @ 2017-12-28 08:53 十二Zh 阅读(106) 评论(0) 推荐(0)