Round One: Problem Solving + Java + Design
You are given a fleet of buses of size N each with capacity M. Write a class that provides the following functionalities:
* constructor with arguments: bus_fleet_size, bus_capacity
* book(bus_no) - get the smallest-numbered unreserved seat, book it, and returns its number
* cancel(bus_no, seat_no) - cancels the seat with the given seat_no on the provided bus_no
* available(bus_no) - find if a seat is available on the provided bus_no
* empty(bus_no) - find if the bus with bus_no is empty/unbooked