LLD Schema Design Lab

NEW TO SCHEMA DESIGN?
STEP 1START HERE

ScaleDojo Learn: LLD Fundamentals

Master database schema design, entity relationships, constraints, and data modeling step by step.

2

Or read the history behind it

The Schema Chronicles - Evolution of relational databases and modern data modeling

ACTIVE BOUNTY EVENT
7d left
๐Ÿ†

Big Billion Days

A high-pressure system design and engineering challenge inspired by the scale of Big Billion Days. Design a system that can handle millions of users, massive traffic spikes, real-time inventory updates, concurrent orders, payments, and flash-sale demand without compromising performance or reliability.

QUEST PROGRESS0 / 6 COMPLETED
๐ŸŽ 35% Off
LEADERBOARDLIVE

Compare stats and compete with top...

View

CHALLENGE MAP

Progressive Schema Design Curriculum

0/90
COMPLETED
1 of 10 levels unlockedยทStart with Level 1 to begin your journey

Solve levels sequentially - each clear unlocks the next challenge

1/10
ACCESSIBLE
Architect Feature: Want to bypass sequential unlock? Go to your Profile and enable Architect's Sandbox.

Act 1

ACT PROGRESS0/10
1

#1 The Passenger Manifest

EasyFresherAmazonGoogle
๐ŸŽฌ J. Bruce Ismay

Design a complete passenger registry for the RMS Titanic's fateful maiden voyage from Southampton to New York.

Primary Key
Column Types
NOT NULL
Standard Challenge
Learn the concepts first
Start Level โ†’

#2 Cabin Assignments

EasyFresherAmazonGoogle
๐ŸŽฌ Thomas Andrews

Map each first-class passenger to exactly one private cabin aboard Titanic. Design the 1:1 relationship between passengers and cabins.

1:1 Relationship
Foreign Key
UNIQUE
Standard Challenge
Learn the concepts first
Locked

#3 Crew Departments

EasyFresherAmazonMicrosoft
๐ŸŽฌ Captain Edward Smith

Organize all 885 Titanic crew members into their proper departments. Design the 1:Many relationship between departments and crew.

1:Many
Lookup Table
NOT NULL FK
Standard Challenge
Learn the concepts first
Locked

#4 Ticket Booking Ledger

EasyFresherAmazonStripe
๐ŸŽฌ Ticket Office Clerk

Track the complete booking lifecycle - from initial purchase through upgrades, cancellations, and refunds - with proper financial precision.

Status Tracking
DECIMAL
DEFAULT
Timestamps
Standard Challenge
Learn the concepts first
Locked

#5 Grand Dining Reservations

MediumSDE 1AmazonAirbnb
๐ŸŽฌ Luigi Gatti

Design the grand first-class dining reservation system - passengers, tables, sittings, and seat assignments in an elegant Many-to-Many schema.

Many:Many
Junction Table
Composite FK
Standard Challenge
Learn the concepts first
Locked

#6 Cargo Hold Cleanup (1NF)

MediumSDE 1AmazonGoogle
๐ŸŽฌ Chief Officer Henry Wilde

The cargo manifest is riddled with data quality nightmares - comma-separated values, repeating groups, and atomic violations. Fix the 1NF mess.

1NF
Normalization
Atomic Values
Standard Challenge
Learn the concepts first
Locked

#7 Mail Room Sorting (2NF)

MediumSDE 1AmazonMicrosoft
๐ŸŽฌ John Smith

The Titanic's mail room tracking system has redundant data scattered everywhere. Eliminate the partial dependencies to achieve Second Normal Form.

2NF
Partial Dependency
Table Splitting
Standard Challenge
Learn the concepts first
Locked

#8 Lifeboat Allocation

MediumSDE 1AmazonGoogle
๐ŸŽฌ First Officer Murdoch

Design the lifeboat allocation system with CHECK constraints, capacity limits, and priority boarding rules enforced at the schema level. It also links to the passengers table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

CHECK Constraint
UNIQUE
Business Rules
Standard Challenge
Learn the concepts first
Locked

#9 SOS Communication Log

HardSDE 2AmazonStripe
๐ŸŽฌ Jack Phillips

Build an immutable communication log with soft deletes and a tamper-proof audit trail for every Marconi wireless message sent or received.

Audit Trail
Soft Delete
Timestamps
Immutable Log
Standard Challenge
Learn the concepts first
Locked

#10 Survivor Registry

HardSDE 2AmazonMicrosoft
๐ŸŽฌ Captain Arthur Rostron

Design the ultimate integration challenge - link survivors to passengers, crew, lifeboats, and medical records across every table built in Act 1. It also links to tables from earlier levels (passengers, crew and lifeboats) - add each as a stand-in with just an id so those links can be drawn.

Schema Integration
Nullable FK
Multi-Table Joins
Standard Challenge
Learn the concepts first
Locked

Act 2

ACT PROGRESS0/8

#11 The Harvard Face Book

MediumSDE 1Meta
๐ŸŽฌ Mark Zuckerberg

Design the foundational user profile table for a campus social network - unique emails, house affiliations, and proper indexing for fast lookups.

User Tables
UNIQUE Index
Lookup Tables
TEXT vs VARCHAR
Standard Challenge
Learn the concepts first
Locked

#12 Friend Requests

HardSDE 2MetaLinkedIn
๐ŸŽฌ Eduardo Saverin

Model bidirectional friendships using a self-referencing Many-to-Many pattern with canonical ordering to prevent duplicate rows.

Self-Referencing M:M
Canonical Ordering
Bidirectional Query
CHECK Constraint
Standard Challenge
Learn the concepts first
Locked

#13 The Wall (Posts & Media)

HardSDE 3Meta
๐ŸŽฌ Sean Parker

Build a polymorphic content system - text posts, photo posts, and link shares - each with different metadata, plus likes and comments. It also links to the users table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Polymorphic
Content Types
Extension Tables
Likes Pattern
Standard Challenge
Learn the concepts first
Locked

#14 News Feed Engine

HardSDE 3MetaX (Twitter)
๐ŸŽฌ Mark Zuckerberg

Design a pre-computed feed table that denormalizes data for read performance - the classic fan-out-on-write pattern.

Denormalization
Materialized Feed
Fan-Out
Read Optimization
Standard Challenge
Learn the concepts first
Locked

#15 Photo Albums (Hierarchical Data)

HardSDE 2Meta
๐ŸŽฌ Dustin Moskovitz

Model nested photo albums as a tree structure using self-referencing parent_id and materialized paths for efficient subtree queries. It also links to the users table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Hierarchical Data
Self-Reference
Materialized Path
Adjacency List
Standard Challenge
Learn the concepts first
Locked

#16 Events & RSVPs

HardSDE 3MetaLinkedIn
๐ŸŽฌ Chris Hughes

Design the events system with complex M:M RSVP metadata, recurring event patterns, and invitation tracking. It also links to the users table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Rich Junction Tables
Recurring Data
CHECK Constraints
Event Modeling
Standard Challenge
Learn the concepts first
Locked

#17 Privacy & Access Control

HardSDE 3Meta
๐ŸŽฌ Winklevoss Twins' Lawyer

Design granular privacy controls - visibility enums, custom audience lists, and a blocked users system for row-level security modeling. It also links to the users table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Access Control
Visibility Modeling
Custom Audiences
Row-Level Security
Standard Challenge
Learn the concepts first
Locked

#18 Notification Engine

HardSDE 3MetaLinkedIn
๐ŸŽฌ Mark Zuckerberg

Build the complete notification system - type registry, user preferences, read/unread tracking, and aggregation grouping for the Act 2 capstone. It also links to the users table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Event-Driven Schema
Notification Patterns
Actor-Verb-Object
Preference Tables
Standard Challenge
Learn the concepts first
Locked

Act 3

ACT PROGRESS0/12

#19 Broker Registry (RBAC)

HardSDE 2AmazonMicrosoft
๐ŸŽฌ Jordan Belfort

Design a flexible Role-Based Access Control system where permissions are data-driven, not hardcoded - roles, permissions, and a mapping between them.

RBAC
Authorization
Dynamic Permissions
License Tracking
Standard Challenge
Learn the concepts first
Locked

#20 Client Portfolios

HardSDE 3StripePayPal
๐ŸŽฌ Donnie Azoff

Design financial data tables with DECIMAL precision - clients, accounts, stocks, and portfolio holdings where rounding errors are unacceptable. It also links to the brokers table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

DECIMAL Precision
Financial Schema
Portfolio Modeling
Hashed Sensitive Data
Standard Challenge
Learn the concepts first
Locked

#21 Trade Engine (Double-Entry Ledger)

HardSDE 3StripePayPal
๐ŸŽฌ Jordan Belfort

Design a trade execution system with double-entry bookkeeping - every buy creates a debit and credit, and the ledger must ALWAYS balance. It also links to tables from earlier levels (accounts and stocks) - add each as a stand-in with just an id so those links can be drawn.

Double-Entry
Idempotency
ACID
Ledger Design
Standard Challenge
Learn the concepts first
Locked

#22 Commission Tracking

HardSDE 2StripeUber
๐ŸŽฌ Donnie Azoff

Design tiered commission calculations stored as configurable data - rates that change over time, splits between broker and firm, and payout tracking. It also links to tables from earlier levels (roles, trades and brokers) - add each as a stand-in with just an id so those links can be drawn.

Tiered Rules
Configurable Business Logic
Computed Amounts
Effective Dating
Standard Challenge
Learn the concepts first
Locked

#23 Client Onboarding (State Machine)

HardSDE 3StripePayPal
๐ŸŽฌ Compliance Officer

Model a state machine in the database - defined states, valid transitions between them, and a document management workflow for KYC compliance. It also links to the clients table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

State Machine
Workflow Tables
Valid Transitions
Document Management
Standard Challenge
Learn the concepts first
Locked

#24 SEC Audit Trail

HardSDE 3StripePayPal
๐ŸŽฌ FBI Agent Patrick Denham

Build a tamper-proof, append-only audit log with hash-chain integrity - every action is recorded, nothing can be modified, and tampering is detectable.

Append-Only
Event Sourcing
Hash Chain
Tamper Detection
Standard Challenge
Learn the concepts first
Locked

#25 Multi-Currency Trading

HardSDE 2StripePayPal
๐ŸŽฌ Jordan Belfort

Extend the trading platform for international markets - currency tables, historical exchange rates, and point-in-time rate lookups.

Multi-Currency
Temporal Rates
Point-in-Time Queries
ISO Currency
Standard Challenge
Learn the concepts first
Locked

#26 Risk & Margin System

HardSDE 3StripePayPal
๐ŸŽฌ Risk Manager

Design a risk monitoring system with exposure limits, margin thresholds, and portfolio snapshots for real-time alerting. It also links to the accounts table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Risk Modeling
Alert Thresholds
Snapshot Pattern
Margin Calculations
Standard Challenge
Learn the concepts first
Locked

#27 IPO Pipeline (Workflow Engine)

HardSDE 3MicrosoftAmazon
๐ŸŽฌ Jordan Belfort

Design a multi-stage workflow engine with parallel stages, multi-approver patterns, and stage dependencies for managing IPO deals.

Workflow Engine
Stage Dependencies
Multi-Approver
DAG
Standard Challenge
Learn the concepts first
Locked

#28 Market Data Feed (Time-Series)

HardSDE 3Amazon
๐ŸŽฌ Head of Technology

Design a time-series data architecture - high-frequency tick ingestion, OHLCV candle aggregation, table partitioning, and tiered storage policies. It also links to the stocks table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Time-Series
Partitioning
OHLCV
Tiered Storage
Standard Challenge
Learn the concepts first
Locked

#29 Regulatory Reporting (Star Schema)

HardSDE 3AmazonMicrosoft
๐ŸŽฌ SEC Compliance

Design a data warehouse star schema - fact tables for trades, dimension tables for date/client/stock, and Slowly Changing Dimensions (SCD Type 2).

Star Schema
Dimension Tables
Fact Tables
SCD Type 2
Standard Challenge
Learn the concepts first
Locked

#30 Stratton Oakmont - Complete Platform

HardStaff+StripePayPal
๐ŸŽฌ Jordan Belfort

The Act 3 capstone - join brokers and their roles, clients and accounts, orders, trades and ledger entries, commissions, risk profiles and an audit trail into ONE unified schema of 11+ tables.

Schema Integration
Domain Modeling
Enterprise Design
Cross-Domain FK
Standard Challenge
Learn the concepts first
Locked

Act 4

ACT PROGRESS0/10

#31 Mission Control (Distributed Data)

ExpertSDE 3Amazon
๐ŸŽฌ Professor Brand

Design distributed data schemas with vector clocks, conflict resolution, and sync tracking across 12 Lazarus missions where time dilation warps every timestamp.

Distributed Data Modeling
Vector Clocks
Conflict Resolution
Sync Tracking
Standard Challenge
Learn the concepts first
Locked

#32 Endurance Telemetry (IoT Schema)

ExpertSDE 3Amazon
๐ŸŽฌ CASE

Design a high-frequency IoT sensor schema for the Endurance spacecraft with raw ingestion, rollup aggregation tables, and threshold-based alert tracking.

IoT Sensor Schema
Rollup Aggregation
Threshold Alerts
High-Frequency Ingestion
Standard Challenge
Learn the concepts first
Locked

#33 Planet Habitability Database

ExpertSDE 3GoogleAmazon
๐ŸŽฌ Dr. Amelia Brand

Design a scientific data catalog with weighted scoring, measurement uncertainty tracking, and composite habitability rankings for candidate planets. It also links to the missions table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Scientific Data Catalog
Weighted Scoring
Measurement Uncertainty
Composite Ranking
Standard Challenge
Learn the concepts first
Locked

#34 Cryo-Sleep Registry (Bi-Temporal Data)

ExpertStaff+Microsoft
๐ŸŽฌ Dr. Mann

Design a bi-temporal data model that tracks crew vitals across two time dimensions: Valid Time (when the measurement was true in reality) and Transaction Time (when it was recorded in the database) - alongside each crew member's cryo-sleep sessions.

Bi-Temporal Modeling
Valid Time vs Transaction Time
SCD Type 6
Temporal Queries
Standard Challenge
Learn the concepts first
Locked

#35 Resource Allocation (Optimization)

ExpertSDE 3Amazon
๐ŸŽฌ Cooper

Design an inventory management system with consumption tracking, depletion projections, and scenario modeling for a spacecraft with finite, irreplaceable resources.

Inventory Management
Consumption Tracking
Depletion Projection
Scenario Modeling
Standard Challenge
Learn the concepts first
Locked

#36 TARS Message Protocol (Queue Schema)

ExpertSDE 3Amazon
๐ŸŽฌ TARS

Design a relational message queue with guaranteed delivery, idempotent consumption, dead letter handling, and retry with exponential backoff for interstellar communications.

Message Queue Schema
Idempotent Consumption
Dead Letter Queue
Retry Backoff
Standard Challenge
Learn the concepts first
Locked

#37 Wormhole Navigation (Graph in SQL)

ExpertSDE 3GoogleUber
๐ŸŽฌ Romilly

Model a directed weighted graph of spatial anomalies connected by wormholes using an adjacency list pattern, with computed shortest paths and self-referencing constraints.

Graph in SQL
Adjacency List
Directed Weighted Graph
Shortest Path
Standard Challenge
Learn the concepts first
Locked

#38 Colony Data (Schema Versioning)

ExpertSDE 3AmazonGoogle
๐ŸŽฌ Murphy Cooper

Design a migration tracking and schema versioning system that records every structural change to the database, supports rollback, and maintains a live registry of all tables and columns.

Schema Versioning
Migration Tracking
Rollback Support
Schema Registry
Standard Challenge
Learn the concepts first
Locked

#39 Quantum Data (CQRS Pattern)

ExpertStaff+Microsoft
๐ŸŽฌ Murphy Cooper

Design a CQRS (Command Query Responsibility Segregation) architecture with separate write-optimized event logs and read-optimized projection tables for Tesseract gravity data.

CQRS
Event Sourcing
Write-Optimized Tables
Read Projections
Standard Challenge
Learn the concepts first
Locked

#40 Cooper Station - Humanity Reborn

LegendaryStaff+MicrosoftAmazon
๐ŸŽฌ Cooper

Design the complete data architecture for Cooper Station - humanity's new home orbiting Saturn - with citizens, zones, resources, healthcare, governance, and cross-domain event tracking using DDD bounded contexts.

Domain-Driven Design
Bounded Contexts
Cross-Domain Events
Enterprise Schema
Standard Challenge
Learn the concepts first
Locked

Act 5

ACT PROGRESS0/10

#41 The Power Plant (Billion-Scale Schema)

LegendaryStaff+GoogleAmazon
๐ŸŽฌ The Architect

Design a billion-scale schema for 6.8 billion human pods with sub-millisecond lookups, partition strategies, and optimal key selection.

Billions-scale table design
Partition strategies
UUID vs BIGINT trade-offs
Shard key selection
Standard Challenge
Learn the concepts first
Locked

#42 Agent Smith Tracking (Replication)

LegendarySDE 3MetaLinkedIn
๐ŸŽฌ Agent Smith

Design a self-referencing replication tree tracking Agent Smith clones, their lineage, generation depth, and the pods they override.

Self-referencing trees
Generation tracking
Clone lineage
Materialized path
Standard Challenge
Learn the concepts first
Locked

#43 Anomaly Detection (Pattern Schema)

LegendarySDE 3StripePayPal
๐ŸŽฌ The Oracle

Design an anomaly detection system with configurable pattern rules, event correlation, and threat scoring for Matrix glitches.

Pattern matching schemas
Rule definition tables
Anomaly scoring
Event correlation
Standard Challenge
Learn the concepts first
Locked

#44 The Construct (Skill Tree Schema)

LegendarySDE 3Microsoft
๐ŸŽฌ Tank

Design a skill tree system with prerequisite DAGs, mutual exclusion constraints, and progression tracking for uploading combat programs into operatives.

Skill tree / tech tree
Prerequisite DAG
Mutual exclusion
Progression tracking
Standard Challenge
Learn the concepts first
Locked

#45 Zion Access Control (Zero-Trust)

LegendaryStaff+GoogleMicrosoft
๐ŸŽฌ Morpheus

Design a zero-trust access control system with MFA, device trust, session management, policy-based authorization, and real-time revocation after Cypher's betrayal.

Zero-trust schema
Session management
MFA
Policy-based access control
Standard Challenge
Learn the concepts first
Locked

#46 The Source Code (Version Control Schema)

LegendaryStaff+Microsoft
๐ŸŽฌ The Architect

Design a Git-like version control system in relational tables with repositories, branches, immutable commits, file snapshots, and diff tracking.

Version control schema
Commits as immutable objects
Branches
Diff tracking
Standard Challenge
Learn the concepts first
Locked

#47 Machine City (Multi-Tenant)

LegendarySDE 3AmazonMicrosoft
๐ŸŽฌ The Architect

Design a multi-tenant architecture for 12 Matrix instances with tenant isolation, shared infrastructure tables, and provisioning workflows.

Multi-tenancy patterns
Tenant isolation
Shared vs tenant-specific tables
Row-level security
Standard Challenge
Learn the concepts first
Locked

#48 The Prophecy Engine (Rules Engine)

LegendarySDE 3StripePayPal
๐ŸŽฌ The Oracle

Design a configurable rules engine with nested condition trees, ordered action outcomes, rule versioning, and evaluation logging.

Rules engine schema
Condition trees
Action outcomes
Rule versioning
Standard Challenge
Learn the concepts first
Locked

#49 Matrix Reload (Migration Orchestration)

LegendaryStaff+Amazon
๐ŸŽฌ The Architect

Design a phased migration orchestration system with checkpoint snapshots, rollback scripts, validation checks, and detailed logging for upgrading 6.8 billion rows.

Migration orchestration
Phased migration
Checkpoint/savepoint
Rollback strategy
Standard Challenge
Learn the concepts first
Locked

#50 The Architect's Masterpiece

LegendaryStaff+MicrosoftAmazon
๐ŸŽฌ The Architect

Design the core of the Matrix data architecture across its bounded contexts - pods, agents, surveillance, identity, and cross-domain events - as the ultimate capstone challenge.

Enterprise schema design
Bounded contexts
Cross-domain integrity
Cross-domain coordination
Standard Challenge
Learn the concepts first
Locked

Act 6

ACT PROGRESS0/10

#51 The Menu Board

HardSDE 2DoorDash
๐ŸŽฌ Ray Kroc

Design the product catalog for a fast-food chain where the same menu item can carry a different price - or not exist at all - at different locations.

Product Catalog
Location-Based Pricing
Junction Table
Standard Challenge
Learn the concepts first
Locked

#52 Franchise Territory Rights

HardSDE 2DoorDash
๐ŸŽฌ Harry Sonneborn

Design the franchise agreement system: a franchisee licenses an exclusive territory, and every agreement keeps its dates so a territory's history of holders is preserved.

Licensing Model
Exclusive Territory
Contract History
Standard Challenge
Learn the concepts first
Locked

#53 The Speedee Service System

HardSDE 2DoorDash
๐ŸŽฌ Mac McDonald

Model the kitchen order pipeline: an order moves through prep stations in sequence, and every station transition is timestamped.

Pipeline Modeling
Event Timestamps
Order Fulfillment
Standard Challenge
Learn the concepts first
Locked

#54 Supply Chain Standardization

HardSDE 2Amazon
๐ŸŽฌ Ray Kroc

Design the supplier and distribution schema that guarantees every restaurant gets identical ingredients, sourced through approved channels only.

Supplier Management
Distribution Network
SKU Standardization
Standard Challenge
Learn the concepts first
Locked

#55 Real Estate Empire

ExpertSDE 3Airbnb
๐ŸŽฌ Harry Sonneborn

Design the real estate holding structure that makes the company landlord to every one of its own franchisees - the twist that makes the empire actually profitable. It also links to the franchisees table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Asset Management
Lease Agreements
Cross-Entity Linking
Standard Challenge
Learn the concepts first
Locked

#56 Royalty & Rebate Engine

ExpertSDE 3StripePayPal
๐ŸŽฌ Harry Sonneborn

Design the schema that calculates monthly royalty owed on gross sales and reconciles it against supplier rebates earned on standardized purchasing. It also links to tables from earlier levels (franchise_agreements and suppliers) - add each as a stand-in with just an id so those links can be drawn.

Financial Calculation
Multiple Revenue Streams
Period-Based Aggregation
Standard Challenge
Learn the concepts first
Locked

#57 Multi-Location Inventory

ExpertSDE 3Amazon
๐ŸŽฌ Ray Kroc

Design a stock-tracking schema that covers per-location inventory levels, transfers between restaurants, and automatic reorder triggers. It also links to the restaurants table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Inventory Tracking
Reorder Thresholds
Lateral Transfers
Standard Challenge
Learn the concepts first
Locked

#58 Franchise Performance Scorecard

ExpertSDE 3DoorDash
๐ŸŽฌ Ray Kroc

Design the compliance and performance auditing system, including anonymous mystery-shopper inspections and a formal underperformance flagging process. It also links to tables from earlier levels (restaurants and franchise_agreements) - add each as a stand-in with just an id so those links can be drawn.

Audit Trail
Scoring System
Escalation Workflow
Standard Challenge
Learn the concepts first
Locked

#59 National Ad Fund

LegendarySDE 3GoogleMeta
๐ŸŽฌ June Martino

Design a cooperative marketing fund: every restaurant contributes a percentage of sales into a shared pool, and campaigns draw from it with regional allocation and ROI tracking. It also links to the restaurants table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Pooled Fund Accounting
Regional Allocation
ROI Attribution
Standard Challenge
Learn the concepts first
Locked

#60 The Golden Arches Empire

LegendaryStaff+DoorDash
๐ŸŽฌ Ray Kroc

Capstone: unify territory rights, real estate leasing, royalty calculation, and compliance into one integrated franchise-empire schema. It also links to tables from earlier levels (territories and properties) - add each as a stand-in with just an id so those links can be drawn.

Schema Integration
Cross-Subsystem Queries
Capstone Design
Standard Challenge
Learn the concepts first
Locked

Act 7

ACT PROGRESS0/10

#61 Patient Intake Registry

HardSDE 2Apple
๐ŸŽฌ Dr. Erin Mears

Design the patient intake system: registration, admissions, symptom reporting, and triage priority for a fast-moving outbreak.

Patient Registry
Visit vs Person Modeling
Triage Prioritization
Standard Challenge
Learn the concepts first
Locked

#62 Contact Tracing Graph

HardSDE 2AppleGoogle
๐ŸŽฌ Dr. Erin Mears

Model the exposure network: who was in contact with whom, when, and for how long - the graph that turns one case into a map of a hundred.

Self-Referencing Graph via FK Pair
Exposure Modeling
Risk Scoring
Standard Challenge
Learn the concepts first
Locked

#63 Lab Test Pipeline

HardSDE 2Amazon
๐ŸŽฌ Dr. Ally Hextall

Design the specimen-to-result pipeline: collection, test ordering, and results, with turnaround time trackable at every stage. It also links to the patients table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Multi-Stage Pipeline
Specimen Chain of Custody
Turnaround Measurement
Standard Challenge
Learn the concepts first
Locked

#64 Hospital Bed Capacity

HardSDE 2Amazon
๐ŸŽฌ Dr. Ellis Cheever

Design the ward and bed inventory system, including per-bed occupancy and surge capacity for when a normal ward isn't enough. It also links to the patients table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Facility Capacity Modeling
Occupancy Tracking
Surge Planning
Standard Challenge
Learn the concepts first
Locked

#65 Quarantine & Isolation Tracking

ExpertSDE 3Amazon
๐ŸŽฌ Dr. Ellis Cheever

Design the schema for issuing quarantine orders, tracking compliance check-ins, and logging violations that escalate to enforcement. It also links to the patients table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Time-Bound Orders
Compliance Logging
Violation Escalation
Standard Challenge
Learn the concepts first
Locked

#66 Vaccine Cold-Chain Logistics

ExpertSDE 3Amazon
๐ŸŽฌ Dr. Ally Hextall

Design the vaccine batch and cold-chain shipment schema, with a continuous temperature log that proves - or disproves - a shipment stayed viable.

Batch Tracking
Time-Series Sensor Logging
Threshold Breach Detection
Standard Challenge
Learn the concepts first
Locked

#67 Epidemiological Case Reporting

ExpertSDE 3AppleGoogle
๐ŸŽฌ Dr. Ellis Cheever

Design a reportable-disease case schema where every status change - suspected, probable, confirmed, ruled out - is logged, and public-health hand-offs are tracked explicitly. It also links to the patients table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

State Machine as Event Log
Case Status History
Inter-Agency Notification
Standard Challenge
Learn the concepts first
Locked

#68 Transmission Modeling Data

ExpertSDE 3AppleGoogle
๐ŸŽฌ Dr. Ian Sussman

Design the schema behind outbreak-cluster analysis: who infected whom, grouped into clusters, feeding a daily effective-reproduction-number time series. It also links to the patients table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Cluster Analysis
Peer-to-Peer Transmission Events
Daily Time-Series Aggregation
Standard Challenge
Learn the concepts first
Locked

#69 Global Health Data Exchange

LegendarySDE 3AppleGoogle
๐ŸŽฌ Dr. Leonora Orantes

Design the interoperability layer that lets health jurisdictions share case data under formal agreements, with consent tracked on every exchange. It also links to the reportable_cases table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Cross-Jurisdiction Interoperability
Bilateral Agreements
Consent-Gated Data Exchange
Standard Challenge
Learn the concepts first
Locked

#70 CDC Command Center

LegendaryStaff+AppleGoogle
๐ŸŽฌ Dr. Ellis Cheever

Capstone: unify patient intake, contact tracing, quarantine, and case reporting into one command-center schema anchored on the patient.

Schema Integration
Patient-Centric Hub Design
Capstone Synthesis
Standard Challenge
Learn the concepts first
Locked

Act 8

ACT PROGRESS0/10

#71 Avatar Creation

HardSDE 2MetaApple
๐ŸŽฌ Wade Watts (Parzival)

Design the account and avatar system: one player can own several avatars, and every piece of an avatar's appearance is tracked as its own customization slot.

Account vs Character Modeling
Customization Slots
1:M Ownership
Standard Challenge
Learn the concepts first
Locked

#72 Inventory & Loot System

HardSDE 2Meta
๐ŸŽฌ Aech

Design the item catalog and inventory system, distinguishing items an avatar is carrying from items an avatar currently has equipped. It also links to the avatars table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Shared Item Catalog
Inventory vs Loadout
Rarity Tiers
Standard Challenge
Learn the concepts first
Locked

#73 Quest & Achievement Tracker

HardSDE 2MetaApple
๐ŸŽฌ Wade Watts (Parzival)

Design a quest system where some quests require an earlier quest to be completed first - a prerequisite chain pointing back into the same table. It also links to the avatars table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Self-Referencing Prerequisite Chain
Progress State Tracking
Achievements vs Quests
Standard Challenge
Learn the concepts first
Locked

#74 Guild & Clan System

HardSDE 3Meta
๐ŸŽฌ Samantha (Art3mis)

Design the guild membership system as a many-to-many relationship between avatars and guilds, plus an invitation flow with two references back to the same avatars table. It also links to the avatars table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Many-to-Many via Junction Table
Role Assignment
Dual Self-Reference (Invites)
Standard Challenge
Learn the concepts first
Locked

#75 Matchmaking & Ranked Play

ExpertSDE 3Meta
๐ŸŽฌ Wade Watts (Parzival)

Design the ranked-match system: a per-mode skill rating, a match record, and a rich junction table capturing each participant's team and rating change. It also links to the avatars table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Per-Mode Rating
Rich Junction Table
Before/After Snapshot
Standard Challenge
Learn the concepts first
Locked

#76 Virtual Economy & Marketplace

ExpertSDE 3StripePayPal
๐ŸŽฌ Aech

Design the item marketplace and a double-entry currency ledger where every trade produces a matching debit and credit. It also links to tables from earlier levels (avatars and items) - add each as a stand-in with just an id so those links can be drawn.

Marketplace Listings
Double-Entry Ledger
Immutable Financial Log
Standard Challenge
Learn the concepts first
Locked

#77 In-Game Crafting System

ExpertSDE 3Meta
๐ŸŽฌ Aech

Design a crafting system where each recipe requires several material items in specific quantities, and an avatar's crafting jobs are queued, not instant. It also links to tables from earlier levels (items and avatars) - add each as a stand-in with just an id so those links can be drawn.

Many-to-Many Bill of Materials
Quantity on the Junction
Job Queue Modeling
Standard Challenge
Learn the concepts first
Locked

#78 The Easter Egg Hunt

ExpertSDE 3Meta
๐ŸŽฌ James Halliday

Design the schema behind a Halliday-style sequential puzzle hunt: ordered clues, per-avatar solve progress, a completion-time leaderboard, and an anti-cheat audit trail. It also links to the avatars table from an earlier level - add it as a stand-in with just an id so that link can be drawn.

Ordered Puzzle Sequence
Derived Leaderboard Table
Anti-Cheat Audit Log
Standard Challenge
Learn the concepts first
Locked

#79 Cross-Server Player Migration

LegendarySDE 3Amazon
๐ŸŽฌ Ogden Morrow

Design the schema for transferring a player between regional servers, including a second table for resolving item and name conflicts the migration uncovers. It also links to tables from earlier levels (avatars and items) - add each as a stand-in with just an id so those links can be drawn.

Two FKs Into the Same Parent (Source/Destination)
Conflict Resolution Log
Cross-Shard Data Movement
Standard Challenge
Learn the concepts first
Locked

#80 The OASIS

LegendaryStaff+Meta
๐ŸŽฌ Wade Watts (Parzival)

Capstone: unify avatars, inventory, guilds, the marketplace, and quests into one integrated virtual-world schema anchored on the avatar.

Schema Integration
Avatar-Centric Hub Design
Capstone Synthesis
Standard Challenge
Learn the concepts first
Locked

Act 9

ACT PROGRESS0/10

#81 URL Shortener

EasyFresherX (Twitter)Google

Design the schema behind a URL shortener - unique short codes mapped to long URLs, optionally owned by a registered user.

Primary Key
UNIQUE Constraint
Nullable FK
Standard Challenge
Learn the concepts first
Locked

#82 Rate Limiter

EasyFresherStripeAmazon

Design the schema that backs a rate limiter's configuration and audit trail - not the hot-path counter itself (that lives in a cache), but what configures and logs it.

1:1 Relationship
UNIQUE FK
Audit Log
Standard Challenge
Learn the concepts first
Locked

#83 Chat System (WhatsApp)

MediumSDE 1MetaApple

Design the schema for 1:1 and group messaging - conversations, membership, and an ordered message history.

Many-to-Many
Junction Table
Ordered History
Standard Challenge
Learn the concepts first
Locked

#84 News Feed System

MediumSDE 1MetaX (Twitter)

Design the schema behind a social news feed - posts, who-follows-whom, and a materialized per-user feed table.

Self-Referencing M:M
Materialized Feed
Denormalization
Standard Challenge
Learn the concepts first
Locked

#85 Instagram (Photo Sharing)

MediumSDE 2Meta

Design the schema for a photo-sharing app - posts with images, likes, and the follow graph.

Many-to-Many
Junction Table
Self-Referencing M:M
Standard Challenge
Learn the concepts first
Locked

#86 Hotel Reservation System

MediumSDE 2Airbnb

Design the schema for hotel room reservations - hotels, their rooms, guests, and date-ranged bookings.

Date Range
CHECK Constraint
Multi-Table FK
Standard Challenge
Learn the concepts first
Locked

#87 Ride-Sharing (Uber)

HardSDE 3Uber

Design the schema for a ride-sharing platform - riders, drivers, ride requests, and the payment tied to each completed ride.

Nullable FK
1:1 Relationship
Status Lifecycle
Standard Challenge
Learn the concepts first
Locked

#88 Payment System (Stripe)

HardSDE 3StripePayPal

Design the schema for a payment processor - merchants, their customers, stored payment methods, charges, and refunds.

DECIMAL Precision
Multi-Table FK
Financial Schema
Standard Challenge
Learn the concepts first
Locked

#89 Food Delivery (DoorDash)

HardSDE 3DoorDashUber

Design the schema for a food delivery platform - restaurants, their menus, customer orders with multiple line items, and driver assignment.

Many-to-Many with Attribute
Nullable FK
Multi-Table Capstone
Standard Challenge
Learn the concepts first
Locked

#90 Ticketmaster / Event Ticketing

HardSDE 2

Design the schema for an event-ticketing platform - venues, seats, events, and the purchase that claims one specific seat for one specific event.

Multi-Table FK
UNIQUE Constraint
Capstone Design
Standard Challenge
Learn the concepts first
Locked