Search results for sub-sequence


Write a function to find a largest sub-sequence in a given array of integers both positive and negative. Examples: { -100, 1, 2, 3, -20, -20, -20, ...