Leetcode 2760. Longest Even Odd Subarray With Threshold
Find the longest contiguous subarray that starts with an even number, has all elements <= threshold, and whose adjacent elements strictly alternate parity; return its length.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.