fix var name

This commit is contained in:
onyx-and-iris 2024-01-17 15:24:46 +00:00
parent c6b0b0d276
commit 21a13acbff

View File

@ -42,13 +42,13 @@ X = "fosh"
Y = "fort"
logger.info(f"words: {X} {Y}")
longest_substring = longest_common_subsequence(X, Y, len(X), len(Y))
print(f"Longest common subsequence: {longest_substring}")
longest_subsequence = longest_common_subsequence(X, Y, len(X), len(Y))
print(f"Longest common subsequence: {longest_subsequence}")
X = "fosh"
Y = "fish"
logger.info(f"words: {X} {Y}")
longest_substring = longest_common_subsequence(X, Y, len(X), len(Y))
print(f"Longest common subsequence: {longest_substring}")
longest_subsequence = longest_common_subsequence(X, Y, len(X), len(Y))
print(f"Longest common subsequence: {longest_subsequence}")