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.
2 write-ups
| Title | Difficulty |
|---|---|
| Coordinate Threads in Order Make threads take turns in a fixed order with one recipe, shared turn state plus a condition variable, applied to print in order, FooBar, zero-even-odd, H2O and multithreaded FizzBuzz. | Easy |
| Design a Traffic-Light Intersection Design a thread-safe controller for a two-road intersection: cars from four directions, one green road at a time, switching only when needed, and no crashes or deadlocks. | Easy |