Amazon | Onsite | Top 20 items sold in last hour
Anonymous User
3056

Make Amazon.com's top 20 items sold in last hour. The only interface given to you is a function telling you which item is sold, at the time it is sold.

// Invoked as items are being sold
void (Item item);

// Can be called whenever
vector GetTop20SoldInLastHour();

Comments (5)