Search
⌘K

Leetcode 3349. Adjacent Increasing Subarrays Detection I

Determine whether there exists an index a such that both contiguous subarrays nums[a..a+k-1] and nums[a+k..a+2k-1] (i.e., two adjacent length-k blocks) are strictly increasing. Return true if any such adjacent pair exists, otherwise false.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.