@@ -0,0 +1,423 @@
+public class Solution %7B%0A%0A    public String longestCommonPrefix(String%5B%5D strs) %7B%0A%0A        if (strs == null %7C%7C strs.length == 0) %7B%0A            return %22%22;%0A        %7D%0A%0A        String prefix = strs%5B0%5D;%0A%0A        for (int i = 1; i %3C strs.length; i++) %7B%0A%0A            while (strs%5Bi%5D.indexOf(prefix) != 0) %7B%0A                prefix = prefix.substring(0, prefix.length() - 1);%0A            %7D%0A%0A        %7D%0A%0A        return prefix;%0A%0A    %7D%0A%0A%7D%0A

Create : 14 Longest Common Prefix