Closed
Description
Description of the problem
In the longest_increasing_subsequence function the output is a list instead of a OneDimensionalArray
(function) longest_increasing_subsequence: (array) -> list
ans = [] # this here should be an ODA instead of a list
last_index = dp[length]
while last_index != -1:
ans[:0] = [array[last_index]]
last_index = parent[last_index]
return ans
I can work on it and will open a PR.