Longest strictly increasing contiguous subarray

0
Remix

Return the length of the longest contiguous subarray whose elements strictly increase. Solve it in one pass and constant extra space, then discuss variants such as returning the subarray itself.

GoogleTechnical phone screenLast asked Jan 2026
No answer yet. Write the first one; the best answer gets endorsed.