GoogleCoding·45 minMembers
Sum of Good Subarrays (Adjacent Diff ±1)
Members only
MLE L5 coding round: sum over all contiguous subarrays whose elements form a strictly monotonic ±1 step sequence (every adjacent pair differs by exactly +1, OR every adjacent pair differs by exactly -...
MLE
SWE
array
two-pointer
medium
Frequency
Single report
Last asked
2026-02-08
Stage
onsite-coding
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
