Count completed trips from vehicle event logs (entry -> road -> exit)
Problem
You are given text logs for multiple vehicles (each record includes a license plate and an event type). Event types are: entry, road, exit.
A trip is counted when the **same plat...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
