← 返回 uber 的题目列表Meeting Room Booking Counter
类型:online_judge
You are required to write a function for managing meeting room bookings. Given two inputs: a list of integers representing how many meeting rooms are available, and a 2D array where each element specifies a time slot request for booking a room. The function should return a list where each element is a string with the room name followed by a booking counter, representing the order of bookings. The output should be in the form: roomA1, roomB1, roomA2, roomC1.
Example
Input
[3]
[(1, 4), (2, 3), (3, 5), (0, 2)]