Uber logoUber
Coding·60 minMembers

Phone Screen: Longest Subarray with Bounded Diff

Members only

Recurring phone-screen / onsite prompt, equivalent to LeetCode 1438 (Longest Continuous Subarray With Absolute Diff ≤ Limit). Two-pointer plus a monotonic deque or a multiset for min / max tracking.

SWE
MLE
two-pointer
array
data-structure
medium
Frequency
Medium
Last asked
2026-07-17
Stage
phone-screen · onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...