摘要: 题目描述:Write a function to find the longest common prefix string amongst an array of strings. 题目很唬人,搞清楚前缀的意思就简单了。解题思路就四个字:垂直匹配。solution:string longestC... 阅读全文
posted @ 2015-02-08 11:23 Sawyer Ford 阅读(138) 评论(0) 推荐(0) 编辑