Reconstruct User Journeys from Activity Logs
Given a collection of user activity logs logs, each log contains:
userId: a string identifying the user.timestamp: an integer representing when the activity occurred.action: a string ...
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:
