25 · Design problem · medium
Design an online judge (LeetCode)
Every Submit runs a stranger’s code on your machines. What stops a fork bomb?
0%complete
- 60-second storyOne idea per card. Tap through it like stories.(done)
- Quick checkTap an answer, get instant feedback.(done)
- Go deeper4 estimates, 2 build-up diagrams and 6 “you’re the candidate” moments.(done)
- Full breakdownThe complete breakdown, every number and figure.(done)
Questions this topic answers
- Every Submit runs a stranger’s code on your machines. What stops a fork bomb?
- Same code, same tests: Accepted on one submit, TLE on the next. Why?
- 80,000 contestants start in the same minute. Where do the cores come from?
- A test-data bug forces a rejudge mid-contest. How does the leaderboard stay right?