摘要: 题目大意:求多个字符串的最长公共前缀。 public static String longestCommonPrefix(String[] strs) { if (strs.length == 0) return ""; int i = 0; a:for (; i < strs[0].length( 阅读全文
posted @ 2015-12-21 00:55 wangb021 阅读(122) 评论(0) 推荐(0)