Leetcode 3087. Find Trending Hashtags
Given a stream or list of time-stamped hashtag occurrences, compute the top-k trending hashtags within a recent time window or period by maintaining/updating frequency counts and efficiently querying the highest-frequency tags — typical solution patterns include a hashmap for counts combined with a min-heap or bucket/ordered structure and sliding-window logic for time-based updates.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.