Each "compartment" has independent capacity. solve(capacities, requests):
capacities: { name: max } map.requests: [name, op] where op is 'enter' or 'leave'.enter: if active < max, accept (active++) and push true; else push false.leave: decrement active (floor 0), push null.
Sample tests