Write a function to find the longest common prefix string amongst an array of strings.先把排好序的前两个字符串的最大前缀求出来,然后看这个前缀是否是其他字符串的前缀,如果不是,缩短这个前缀再看是否是其他字符串的前缀... Read More
posted @ 2014-08-22 00:06 Xylophone Views(150) Comments(0) Diggs(0)