Practice
Learn
← Quit
0 / 0 correct
System Design
Hard
1 of 10
Designing a 'top K trending hashtags in the last hour' service. Which approach scales?
A
Count-min sketch or per-window counters in a stream processor, plus a min-heap of size K per window
B
Store each tag occurrence and SELECT COUNT GROUP BY on each request
C
Sort all hashtags from the database every second
D
Track only the first K tags seen