Amazon logoAmazon
CodingMembers

Inventory Allocation by Bid Priority

Members only

OA coding problem. Each request is `[customerId, quantity, bidAmount, timestamp]`; allocate a fixed `totalInventory` so higher bidAmount wins, ties break by round-robin on increasing timestamp, each c...

SWE
greedy
sorting
simulation
medium
Frequency
Single report
Last asked
2026-06-28
Stage
oa

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...