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