Low-level design
Object-oriented design for interviews: the framework, design principles and patterns, concurrency, and problem breakdowns you can practice in the code runner.
Object-oriented design for interviews: the framework, design principles and patterns, concurrency, and problem breakdowns you can practice in the code runner.
5 write-ups
| Title | Difficulty |
|---|---|
| Design a Leaderboard Design a game leaderboard that adds points to players, sums the top K totals and resets players, from sorting on every read to a heap to an always-sorted score index, plus ranks, daily boards and scale. | Medium |
| Design a Log Storage System Design a log store that saves ids with timestamps and returns every log in a time range at a chosen granularity, from field-by-field checks to one string range over a sorted index. | Medium |
| Design an In-Memory Search Engine Design an in-memory search engine with datasets, document insert and delete, word and prefix search through an inverted index, and swappable result orderings. | Medium |
| Design an Underground System Design a metro tap-in and tap-out system that tracks riders between stations and answers the average travel time of any route in constant time, with the rules for double taps and missing check-ins. | Medium |
| Design Search Autocomplete Design a search box that suggests the three most popular past sentences for what the user has typed so far, from a full scan to a trie to a trie that caches each prefix's top three. | Medium |