分治法 public String longestCommonPrefix (String[] strs) { // write code here if (strs == null || strs.length == 0){ return ""; } return longestCommonPrefix(strs,0,strs.length-1); } private String longestCommonPrefix (String[] strs,int start,int e...