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) l

0

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) l

By Beginner Rudy Abernathy at Nov 04 2020


Related code examples


Code examples by languages