InterviewDB
Question
Game Ranking: Design a Real-Time Leaderboard System with Score Updates and Rank Queries
phone
Question Details
Problem Design a leaderboard system for a multiplayer game that supports: updating a player's score, querying a player's current rank (1-indexed, rank 1 = highest score), and fetching the top K players. Scores can only increase. Example: Clarify: Does add_score replace the score or add to it? Follow-ups How would you implement get_rank efficiently -- what data structure supports O(log n) rank queries (e.g., sorted set, order-statistics tree)? How does Redis's ZSET (sorted set) solve this problem…
Full Details
🔒
Unlock all Rubrik questions
Full insider details, leaked discussions, and candidate experiences.
Get full access — $100 a year, unlimited accessAbout This Question
This is a reported interview question from a rubrik interview during the phone round.
More Rubrik Interview Questions
1p3a
Rubrik SDE-2 System Coding Interview Experience and Concurrency Question
1p3a
Rubrik OA Question: Minimum Swaps to Make Binary String Palindrome
1p3a
Rubrik onsite interview experience: Queue design using array
InterviewDB
Rubrik SWE Phone - App Installation (Graph/Topological Sort)
1p3a
Rubrik New Grad 2025 Software Engineer Interview Experience