Available question text
Design a class that records timestamps for each tweet name and, given a frequency ("minute"/"hour"/"day") and a time range, returns the number of tweets in each contiguous fixed-size time chunk covering that range. The challenge is to efficiently group timestamps into buckets per tweet name and support many dynamic record/get queries over arbitrary ranges.
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
Ramp
Leetcode 1348. Tweet Counts Per Frequency
Reported Jul 29, 2025 · 1 source report
MID_LEVEL
Source snapshot: Nov 12, 2026
View source