01Create events with a name and a capacity; read an event and edit its capacity.
02RSVP a user: "going" while seats are free, otherwise "waitlisted" with a 1-based position.
03Cancel an RSVP; a freed seat goes to someone on the waitlist, and the response says who.
04List who is going and who is waiting, each in order.
05400 for invalid input, 404 for an unknown event.
What the hidden tests check
Everything the interviewer tells you is checked.
The order of the waitlist is checked after every cancellation and capacity change.
4 more details are held back. In a mock interview they come out only when you ask the interviewer the right question; in practice they are listed in the workspace.