Skip to content

Commit 0afc42c

Browse files
committed
Common prefix update
1 parent 84fe0c5 commit 0afc42c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Sprint-2/improve_with_precomputing/common_prefix/common_prefix.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ def find_longest_common_prefix(strings: List[str]) -> str:
2020
return longest
2121

2222

23-
@lru_cache(maxsize=None)
2423
def cached_find_common_prefix(left: str, right: str) -> str:
2524
min_length = min(len(left), len(right))
2625
for i in range(min_length):

0 commit comments

Comments
 (0)