Grokking the System Design Interview, Volume II
Vote

0% completed

Code Judging System: Data Storage and Indexing

Step 5: Data Storage and Indexing

Problem Data: Problems can be stored in a database optimized for read performance. A NoSQL document store (like DynamoDB or MongoDB) is a good choice to store problem statements along with an array of test cases. Each problem entry contains fields like id, title, description, difficulty, allowed languages, and a list of test cases (each with input and expected output). This schema allows retrieving everything needed to evaluate that problem in one go. We index the `id

.....

.....

.....

Like the course? Get enrolled and start learning!