At Moflip, we manage massive live events. Imagine we have a stadium with
Requirements:
- SeatManager(int n): Initializes a SeatManager object that will manage
$n$ seats numbered from 1 to$n$ . - reserve(): Fetches the smallest-numbered unreserved seat, reserves it, and returns its number.