DoorDash logoDoorDash
Coding·60 minMembers

Code Craft: Batch with Capacity & Time Window (MLE)

Members only

MLE PhD intern coding round. Given timepoints `1, 3, 5, ...` and per-batch constraints `(capacity B, window W)`, group timepoints into the minimum number of batches such that each batch holds at most ...

MLE
greedy
sliding-window
interval
heap
medium
Frequency
Single report
Last asked
2026-02-07
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...