Leetcode 2688. Find Active Users
Given a list of user activity records (userId, timestamp), identify users who meet the "active" criterion (e.g., at least k actions within a recent time window). The core challenge is grouping and counting per user efficiently over timestamps — use hashing plus sliding-window/two-pointer or time-bucketing to handle large logs in near-linear time.
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.