Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #12510 #12517

Merged
merged 8 commits into from
Jan 12, 2025
Merged
Prev Previous commit
Next Next commit
Update longest_increasing_subsequence.py
  • Loading branch information
MaximSmolskiy authored Jan 12, 2025
commit f0447ce660fac9a35025c5190f3fd83a1197ee88
2 changes: 0 additions & 2 deletions dynamic_programming/longest_increasing_subsequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ def longest_subsequence(array: list[int]) -> list[int]: # This function is recu
[1, 1, 1]
>>> longest_subsequence([])
[]
>>> longest_subsequence([28, 26, 12, 23, 35, 39])
[12, 23, 35, 39]
"""
array_length = len(array)
# If the array contains only one element, we return it (it's the stop condition of
Expand Down