Skip to content

Commit b24544e

Browse files
authored
Updated longest_alternating_subsequence docstring
1 parent 09945c0 commit b24544e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydatastructs/linear_data_structures/algorithms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1885,7 +1885,7 @@ def longest_alternating_subsequence(array: OneDimensionalArray, **kwargs) -> int
18851885
>>> arr = OneDimensionalArray(int, [1, 5, 4, 3, 2, 6, 7])
18861886
>>> las = longest_alternating_subsequence(arr)
18871887
>>> las
1888-
7
1888+
4
18891889
18901890
References
18911891
==========

0 commit comments

Comments
 (0)