This question evaluates system design and distributed-systems skills, including scalable execution orchestration, secure sandboxing of untrusted code, test-case storage/distribution, message-queue resilience, and low-latency real-time leaderboard updates.

Design a coding challenge platform (similar to LeetCode) where users submit code to be compiled and executed against test cases at scale. The system must provide a live global leaderboard that updates in near real time.
Assume:
Design the system to address:
Call out key APIs, data models, high-level architecture, and operational considerations.
Login required