/* * @lc app=leetcode id=14 lang=java * * [14] Longest Common Prefix */ // @lc code=start class Solution { public String longestCommonPrefix(String[] strs) { if(strs == null || strs.length == 0) { return ""; } String r = strs[0]; for(int i=1; i