Skip to content
Search lessons, topics, tests…
Esc

    ↑ ↓ moveEnter openEsc close
    Architecture and System Design: back to the track

    Guided course · Architecture and System Design

    Low-Level Design and Machine Coding in C#: The .NET Interview Guide

    • Design a working class model in a low-level design or machine-coding round, step by step.
    • Use one method you can repeat: questions to ask, classes and their jobs, a class diagram, a runnable core, then the follow-ups.
    • Work through 12 classic problems in C#: parking lot, vending machine, elevator, games, expense sharing, LRU cache, rate limiter, ticket booking, logging, pub-sub and a task scheduler.
    • Keep the design testable and thread-safe inside one program.
    • Finish with a full machine-coding round, from vague requirements to working code.
    Intermediate6 modules · 14 lessons · 3 h 40 min · 7 practice tests · 2 free

    Module 1 · The Round and a First Design

    2 lessons · 30 min
    1. 01The LLD and Machine-Coding Round in C#: How It Is Judged and a Method You Can RepeatFree14 min
    2. 02Parking Lot Low-Level Design in C#: Entities, Spot Allocation and FeesFree16 min

    Module 2 · State Machines

    2 lessons · 34 min
    1. 03Vending Machine in C#: A State Machine With Money, Stock and Refunds (included with Full Access)17 min
    2. 04Elevator System in C#: Requests, States and a Scheduling Strategy (included with Full Access)17 min

    Module 3 · Games, Rules and Money

    3 lessons · 47 min
    1. 05Tic-Tac-Toe in C#: Board, Moves, Fast Win Checks and Undo (included with Full Access)16 min
    2. 06Snake and Ladder in C#: A Rules-Driven Game Loop You Can Test (included with Full Access), 1 practice test16 min
    3. 07Expense Sharing in C#: Split Types, Exact Money and Settling Up (included with Full Access), 1 practice test15 min

    Module 4 · Shared State and Thread Safety

    3 lessons · 45 min
    1. 08Design an LRU Cache in C#: Eviction Policies, Expiry and Thread Safety (included with Full Access), 1 practice test15 min
    2. 09Design an In-Process Rate Limiter in C#: Per-Client Limits, a Testable Clock and Thread Safety (included with Full Access), 1 practice test15 min
    3. 10Movie Ticket Booking in C#: Seat Holds, Expiry and No Double Booking (included with Full Access), 1 practice test15 min

    Module 5 · Background Work

    3 lessons · 47 min
    1. 11Design a Logging Framework in C#: Levels, Sinks, Formatting and Slow Outputs (included with Full Access)16 min
    2. 12Design an In-Process Pub-Sub in C#: Topics, Subscribers and Slow Consumers (included with Full Access), 1 practice test15 min
    3. 13Design a Task Scheduler in C#: Due Times, Priorities, Repeats and Workers (included with Full Access)16 min

    Module 6 · Capstone

    1 lesson · 17 min
    1. 14Capstone: A Full Machine-Coding Round in C#, From Vague Requirements to a Working Kanban Board (included with Full Access), 1 practice test17 min

    TechInterviewNotes Editorial Team ·