Skip to content

Commit 9e51190

Browse files
authored
Update lcs.py
1 parent 1640493 commit 9e51190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythainlp/util/lcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def longest_common_subsequence(str1: str, str2: str) -> str:
1818
from pythainlp.util.lcs import longest_common_subsequence
1919
2020
print(longest_common_subsequence("ABCBDAB", "BDCAB"))
21-
# output: "BCAB"
21+
# output: "BDAB"
2222
"""
2323
m = len(str1)
2424
n = len(str2)

0 commit comments

Comments
 (0)