Given an integer array nums, find the maximum integer k such that there exist two adjacent subarrays of length k that are both strictly increasing.
Specifically, determine the maximum value of k for which there exists an index i such that both subarrays nums[i ... i + k - 1] and nums[i + k ... i + 2 * k - 1] are strictly increasing.
Return the maximum possible value of k.
Constraints:
nums.length
nums[i]
Given an integer array nums, find the maximum integer k such that there exist two adjacent subarrays of length k that are both strictly increasing.
Specifically, determine the maximum value of k for which there exists an index i such that both subarrays nums[i ... i + k - 1] and nums[i + k ... i + 2 * k - 1] are strictly increasing.
Return the maximum possible value of k.
Constraints:
nums.length
nums[i]