Design Ticketmaster
hard 55 minSell numbered seats to far more people than there are seats.
Hold, pay and sell seats in memory
Read it, run it, change a line and run it again.
Loading editor…
One process, so each method stands for one transaction. The clock is passed in to make it easy to follow.