AmazonCoding·40 minMembers
VM Inventory Rental — Heap Simulation
Members only
n VM types with initial inventory. m customers each rent from the type with the largest current stock; revenue per rental equals max-stock + min-stock. Decrement stock and repeat. Return total revenue...
SWE
heap
simulation
greedy
medium
Frequency
Single report
Last asked
2026-01-31
Stage
oa
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
