Implement longest increasing subarray with one deletion | Netflix