Skip to content

Commit 6492063

Browse files
committed
case changed in docstring
1 parent 79b5b8c commit 6492063

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pydatastructs/linear_data_structures/algorithms.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,12 +1007,12 @@ def longest_increasing_subsequence(array):
10071007
>>> from pydatastructs import lower_bound, OneDimensionalArray as ODA
10081008
>>> from pydatastructs import longest_increasing_subsequence as LIS
10091009
>>> array = ODA(int, [2, 5, 3, 7, 11, 8, 10, 13, 6])
1010-
>>> longestIncreasingSubsequence = LIS(array)
1011-
>>> longestIncreasingSubsequence
1010+
>>> longest_inc_subsequence = LIS(array)
1011+
>>> longest_inc_subsequence
10121012
[2, 3, 7, 8, 10, 13]
10131013
>>> array2 = ODA(int, [3, 4, -1, 5, 8, 2, 2 ,2, 3, 12, 7, 9, 10])
1014-
>>> longestIncreasingSubsequence = LIS(array2)
1015-
>>> longestIncreasingSubsequence
1014+
>>> longest_inc_subsequence = LIS(array2)
1015+
>>> longest_inc_subsequence
10161016
[-1, 2, 3, 7, 9, 10]
10171017
"""
10181018
n = len(array)

0 commit comments

Comments
 (0)