Skip to content

Commit f7549a1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d8dfc28 commit f7549a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dynamic_programming/longest_common_substring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def longest_common_substring(text1: str, text2: str) -> str:
4848

4949
text1_length = len(text1)
5050
text2_length = len(text2)
51-
51+
5252
dp = [[0] * (text2_length + 1) for _ in range(text1_length + 1)]
5353
end_pos = 0
5454
max_length = 0

0 commit comments

Comments
 (0)