Object-Oriented Programming · Google · Medium
You receive activity-event records and must determine which activity IDs took longer than the permitted duration. Design suitable classes or data structures and implement a function that produces the IDs of all activities that timed out. Input logs: a collection of records, where every record includes at least: activityId: a unique identifier, represented as a string or integer timestamp: a comparable integer timestamp eventType: an event label such as START or END, or an…
Checking your access…