Group events into sessions with a 30-minute inactivity gap and return session_id, user_id, start, end.
Community-reported interview topic. Not an official company question and no affiliation is implied.
Run against the public tests, or submit to score against all of them.