Leetcode 1454. Active Users
Given timestamped user activity (or login/logout) events, compute the number of unique users considered "active" within each sliding time window or at query times. The challenge is efficiently maintaining a time-windowed count with deduplication (e.g., via hash maps/sets, queues or time buckets) to support large inputs and real-time queries.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Your account is free and you can post anonymously if you choose.