Count Unique Active Pins Over Time

Given interaction logs (pin_id, start_time, end_time), each log indicates that a user interacts with the pin during the half-open interval [start_time, end_time).

The same pin_id may appear in ...

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: