diff --git a/mainj.py b/mainj.py index cc08357..89807d7 100644 --- a/mainj.py +++ b/mainj.py @@ -1,4 +1,4 @@ -def longestCommonPrefix(strs) -> str: +def longestCommonPrefix(strs): s = min(strs, key=len) prefix = [] for i in range(len(s)):