Object-Oriented Programming · Airbnb · Medium
Using the class skeleton you are provided, build a simplified system for tracking parcels. The work is split into several levels, and you move on to the next level only once the unit tests for the level you are on pass. Level 1: event counts per parcel Every parcel is identified by a string parcelId. For each parcel, a separate count is kept for every string eventType. Increase the running total for this parcel and event type by count. If the event type has not been seen for…