Goldman SachsCoding·120 minMembers
Transaction Segments / Increasing Subarrays of Length K
Members only
Given transaction values over time, count contiguous segments of exactly length k whose values are strictly increasing from left to right. The prompt is a clean one-pass window / run-length counting p...
SWE
array
sliding-window
easy
Frequency
Single report
Last asked
2025-11-25
Stage
oa
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
