diff --git a/leetcode/14.py b/leetcode/14.py index 1aa3e8a..6e02e8a 100644 --- a/leetcode/14.py +++ b/leetcode/14.py @@ -11,9 +11,8 @@ class Solution: for string in strs: if string[i] != strs[0][i]: break - - i += 1 return_string += strs[0][i] + i += 1 except: break