Search
⌘K
Get Premium
Leetcode 1369. Get the Second Most Recent Activity
Given a table of timestamped activities, return each user's second-most-recent activity. The challenge is to correctly rank events by time per user and handle edge cases like ties, users with fewer than two records, and scalability on large datasets.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.