摘要: Longest Common PrefixWrite a function to find the longest common prefix string amongst an array of strings.Solution:public class Solution { public ... 阅读全文
posted @ 2014-06-28 23:04 andyqee 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Longest Palindromic SubstringGiven a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there... 阅读全文
posted @ 2014-06-28 21:20 andyqee 阅读(164) 评论(0) 推荐(0) 编辑