PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/Meta

Design coding platform with global leaderboard

Last updated: Mar 29, 2026

Quick Overview

This question evaluates proficiency in scalable distributed systems and system design, including real-time ranking algorithms, data modeling, API design, throughput and latency trade-offs, correctness and anti-cheat considerations, and observability for a coding platform with a global leaderboard.

  • medium
  • Meta
  • System Design
  • Software Engineer

Design coding platform with global leaderboard

Company: Meta

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Onsite

## Scenario Design a LeetCode-like online coding practice platform that also has a **global leaderboard** (e.g., Top K users by score) and can show a user’s rank. ## Functional requirements - Users can: - Browse problems. - Submit code for a problem in a chosen language. - Receive verdicts (Accepted/Wrong Answer/Time Limit, etc.) and runtime/memory stats. - The system maintains a **leaderboard**: - Score model is flexible (e.g., points per solved problem, bonus for difficulty, penalties for wrong submissions). - Support queries: - `GetTopK(k)` (global and optionally per region/time window). - `GetUserRank(userId)`. ## Non-functional requirements - High throughput during peaks (many submissions at once). - Low-latency reads for Top K leaderboard. - Correctness and anti-cheat considerations. - Observability: be able to identify bottlenecks and scale the right components. ## Deliverables 1. High-level architecture and main services. 2. Data model (what is stored where). 3. APIs for submission + leaderboard queries. 4. How leaderboard updates are computed and served efficiently. 5. Identify likely bottlenecks and how you’d improve them.

Quick Answer: This question evaluates proficiency in scalable distributed systems and system design, including real-time ranking algorithms, data modeling, API design, throughput and latency trade-offs, correctness and anti-cheat considerations, and observability for a coding platform with a global leaderboard.

Related Interview Questions

  • Design Top-K, Crawler, and Chess Systems - Meta (hard)
  • Design Search And Web Crawling Systems - Meta (medium)
  • Design an Instagram-Style Social Feed - Meta (medium)
  • Design an Online Game Leaderboard - Meta (hard)
  • Design an On-Demand Delivery Platform - Meta (medium)
Meta logo
Meta
Jan 18, 2026, 12:00 AM
Software Engineer
Onsite
System Design
5
0
Loading...

Scenario

Design a LeetCode-like online coding practice platform that also has a global leaderboard (e.g., Top K users by score) and can show a user’s rank.

Functional requirements

  • Users can:
    • Browse problems.
    • Submit code for a problem in a chosen language.
    • Receive verdicts (Accepted/Wrong Answer/Time Limit, etc.) and runtime/memory stats.
  • The system maintains a leaderboard :
    • Score model is flexible (e.g., points per solved problem, bonus for difficulty, penalties for wrong submissions).
    • Support queries:
      • GetTopK(k) (global and optionally per region/time window).
      • GetUserRank(userId) .

Non-functional requirements

  • High throughput during peaks (many submissions at once).
  • Low-latency reads for Top K leaderboard.
  • Correctness and anti-cheat considerations.
  • Observability: be able to identify bottlenecks and scale the right components.

Deliverables

  1. High-level architecture and main services.
  2. Data model (what is stored where).
  3. APIs for submission + leaderboard queries.
  4. How leaderboard updates are computed and served efficiently.
  5. Identify likely bottlenecks and how you’d improve them.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Meta•More Software Engineer•Meta Software Engineer•Meta System Design•Software Engineer System Design
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.