LeetCode 找到一个字符串数组的最长公共前缀

/** * Created by root on 2014-12-03. * Write a function to find the longest common prefix string amongst an array of strings. * 找到一个字符串数组的最长公共前缀 * 至关于 abcdef abcd 的最长公共前缀是 abcd * 本题目的思路是最长公共字符串确定不会比整个
相关文章
相关标签/搜索