Practice
Learn
← Quit
0 / 0 correct
System Design
Hard
1 of 893
Leaderboard for 100M players with real-time rank queries. What data structure fits?
A
Sorted sets (e.g. Redis ZADD/ZREVRANK), sharded by score range or game, with top-N cached
B
A SQL table with ORDER BY score on every request
C
A hash map from player to score
D
A linked list sorted by score