@@ -0,0 +1,587 @@
+/**%0A * Problem Link: https://leetcode.com/problems/longest-common-prefix/%0A */%0Apublic class Solution %7B%0A    public String longestCommonPrefix(String%5B%5D strs) %7B%0A        if(strs.length == 0) return %22%22;%0A        int len = 0;%0A        while(len %3C strs%5B0%5D.length()) %7B%0A            char c = strs%5B0%5D.charAt(len);%0A            for(int i=0; i%3Cstrs.length; i++) %7B%0A                if(len %3E= strs%5Bi%5D.length() %7C%7C c != strs%5Bi%5D.charAt(len)) %7B%0A                    return strs%5B0%5D.substring(0, len);%0A                %7D%0A            %7D%0A            len ++;%0A        %7D%0A        return strs%5B0%5D.substring(0, len);%0A    %7D%0A%7D%0A

Create Longest_Common_Prefix.java