← Questions

Longest strictly increasing contiguous subarray

0
GoogleCodingLast asked Jan 2026

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.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding