Active Chat Counts from Interaction and End Events
Problem
Implement an active-chat tracker. Each event contains:
user_id: a user identifier.chat_id: a chat identifier.timestamp: an integer timestamp in minutes.event_type: eithe...
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:
