Available question text
Design a data structure to ingest a high‑volume stream of timestamped hashtags and efficiently return the top‑k trending hashtags over a recent sliding time window, supporting frequent inserts and time‑windowed queries by maintaining counts and evicting expired occurrences. The core challenge is to update counts and retrieve top‑k quickly under streaming/time-decay constraints (e.g., using hashes, heaps, or time-bucket aggregation).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 3103. Find Trending Hashtags II
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source