Grokking the System Design Interview, Volume II
Vote
0% completed
Code Judging System: System Definition
Step 1: System Definition
An online coding judge, like LeetCode, is a website where users solve programming problems. A user writes code, submits it, and gets automatic feedback. The main job of the system is to run that code against predefined test cases. It must do this in a secure, isolated environment and return the verdict quickly. The system has four key entities:
- Problem. A coding challenge. It has a description, an input and output specification, and a set of test cases with expected outputs. It also holds metadata like difficulty and the time and memory limits.
.....
.....
.....
Like the course? Get enrolled and start learning!