Find Users with a Short Login Session

Given login and logout logs sorted in non-decreasing timestamp order and a maximum duration maxTime, return every user who has **at least one completed session whose duration is no greater than `max...

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: