Uber logoUber
CodingMembers

Merge Step Functions of (timestamp, value) Pairs

Members only

Given two step functions over time, each encoded as sorted [timestamp, value] checkpoints, return the checkpoints of their pointwise sum. The follow-up extends the merge to k functions via divide-and-...

SWE
array
two-pointer
merge
divide-and-conquer
medium
Frequency
Single report
Last asked
2026-05-13
Stage
onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...