摘要:
Write a function to find the longest common prefix string amongst an array of strings.思路:每个字符串都与第0个字符串比较,设置一个变量,记录每个字符串与第0个字符串不匹配位置的最小值 时间复杂度O(n1+n2... 阅读全文
posted @ 2014-11-24 15:41
vincently
阅读(132)
评论(0)
推荐(0)
浙公网安备 33010602011771号