Skip to content

Commit cf0b0b3

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

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dynamic_programming/subsequence_algorithms.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ def longest_increasing_subsequence(array: list[int]) -> list[int]:
7575

7676

7777
# Longest Common Subsequence (LCS)
78-
def longest_common_subsequence(first_sequence: str, second_sequence: str) -> tuple[int, str]:
79-
78+
def longest_common_subsequence(
79+
first_sequence: str, second_sequence: str
80+
) -> tuple[int, str]:
8081
"""
8182
Finds the longest common subsequence between two sequences (strings).
8283
Also returns the subsequence found.

0 commit comments

Comments
 (0)