Help needed.

Revision en1, by aya1909, 2020-10-30 19:43:20

Given an array, choose two contiguous non-overlapping arrays, such that all elements are strictly increasing. Return the maximum length possible for this combination.

Ex: 7 1 2 4 6 5 3 8 9 10 => ans: 7 (Choose 1 2 4 6 & 8 9 10)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English aya1909 2020-10-30 19:43:20 249 Initial revision (published)