Amazon logoAmazon
CodingMembers

Inventory Allocation by Bid Priority

Members only

One of the two coding problems on the latest NG SDE OA. A discrete allocation simulation where limited stock is handed out under a layered priority policy — the trap is the tie-breaking rule and the per-round fairness constraint, which most people get subtly wrong before reading the spec carefully.

SWE
greedy
sorting
simulation
medium
Frequency
Medium
Last asked
2026-08-21
Stage
oa

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...