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