Sponsored
Use these hints if you're stuck. Try solving on your own first.
Record number of parking slots still available for each car type.
Solve with full IDE support and test cases