Skip to content
All roadmaps

SDE-1 to SDE-2: the design rounds

Low-level design, system design and a sharper coding round: what product companies test before they hire you as SDE-2.

Field
Interview preparationBackend
Role
Software engineer (SDE)Senior engineer
Experience
2 to 5 years

Who it is for. You have worked for two to five years, you ship production code every week, and you want an SDE-2 offer from a product company, where the design rounds count as much as the coding.

About 6 months at 8 hours a week · 8 stages · 19 topics

  1. Stage 1 of 8 · 4 weeks

    Refresh the coding round

    Goal: You solve medium problems in 35 to 40 minutes while explaining your thinking and testing your code.

    1. After a few years at work you know more code than before, but less of the interview toolkit. Relearn how to spot which tool a problem needs.

    2. The topics working engineers forget first, because daily work rarely needs them. Product companies still ask them in almost every loop.

    3. Four or five problems a week against a 40-minute timer. Write down every mistake and the reason for it, and reread that list before each interview.

      • Grind 75 (opens in a new tab)Practice · techinterviewhandbook.org · Set the number of weeks to match your interview date and it builds the plan for you.
  2. Stage 2 of 8 · 3 weeks

    Low-level design: the building blocks

    Goal: You can draw a class diagram for a small system and defend each class, interface and link in it.

    1. The round tests whether your classes are small, guard their own data and can change without a rewrite. These are the tools for that.

    2. Interviewers listen for why you split a class or added an interface. SOLID and a few named patterns give you the words.

  3. Stage 3 of 8 · 3 weeks

    Low-level design: the round itself

    Goal: You can take a brief you have not seen and finish a working, tested design in about 90 minutes.

    1. Watch a design grow from requirements to code, and see how the interviewer runs the round and what they mark you on.

    2. Practise the prompts Indian product companies ask again and again: an elevator, an expense splitter, movie seat booking, an LRU cache and a rate limiter. Say how two users booking the same seat at once is handled.

      • Low-level designLearning path on Engineerhoon · 8 tutorials, about 9 h · After each attempt, compare your classes with the case studies and note what you missed.
      • Talking through it and testing itTutorial on Engineerhoon · 1 h · The same habits win here: say your plan first, then test your code while the interviewer watches.
    Build this

    Three machine-coding rounds at home

    Set a 90-minute timer for each of seat booking, an LRU cache and a rate limiter. The code must run, with at least one test per class. Then swap designs with a friend and review each other's.

  4. Stage 4 of 8 · 4 weeks

    System design: the building blocks

    Goal: You can explain how a request reaches a fleet of servers, where a cache and a queue fit, and how many machines a design needs.

    1. Every design round starts here: what happens between the user and your servers, and how you add servers without breaking anything.

    2. Most designs need work done later: sending notifications, building feeds, processing payments. Know what a queue gives you and what can go wrong.

    3. SDE-2 interviewers expect you to turn users into requests per second and storage per year before you draw boxes.

  5. Stage 5 of 8 · 3 weeks

    Databases at scale

    Goal: You can say why a query is slow, what isolation level a feature needs, and when to add replicas or split the data.

    1. The deep dive in a design round often lands on the database. Know how an index is used, and read a plan to prove it.

    2. Booking, wallets and inventory all need two writes to agree. Learn what each isolation level allows and what it stops.

    3. Copy the data to spread reads, split it to spread writes, and be ready to say what you give up with each.

  6. Stage 6 of 8 · 4 weeks

    System design: the round itself

    Goal: You can run a 45-minute design round yourself: ask the right questions, size it, draw it and argue the trade-offs.

    1. Two real services designed from the first question to the final diagram, with every number worked.

    2. Requirements, estimates, API, data model, the high-level diagram, one deep dive, then trade-offs. A fixed order keeps you calm and the interviewer on board.

    Build this

    Two designs, written up

    Design a chat app and a notification service. For each, write one page: requirements, numbers, API, tables, a diagram and three trade-offs you chose. Ask a senior colleague to pick holes in it.

  7. Stage 7 of 8 · 2 weeks

    The behavioural round

    Goal: You have a bank of stories from your own work that answer the common questions with a clear result.

    1. Situation, Task, Action, Result. Prepare stories for a conflict, a failure, a hard bug, a tight deadline, owning a feature end to end and disagreeing with a senior.

    2. Expect a deep dive into a system you built, why you want to move and what you want next. Practise drawing your current system and explaining it in ten minutes.

    Build this

    A story bank

    Write eight stories in STAR form, each under two minutes when read aloud, with a number in every result. Record yourself telling three of them and listen back.

  8. Stage 8 of 8 · 2 weeks

    Mock interviews

    Goal: You have done at least six mock rounds and fixed the habits that cost you marks.

    1. Swap mocks with a friend or colleague who is preparing too: one coding, one low-level and one system design round each week.

    2. After every mock, write down what went wrong and practise that one thing before the next. Most marks are lost to silence and untested code, not to a wrong idea.

By the end you can

  • Solve medium coding problems in about 40 minutes, out loud, with tests you wrote yourself.
  • Turn a one-paragraph brief into classes, interfaces and running code inside a machine-coding round.
  • Design a service from the question to the diagram: requirements, numbers, API, data model, scaling and the trade-offs you chose.
  • Explain what indexes, transactions, replicas and shards do for a database, and what each one costs.
  • Tell eight stories about your own work in STAR form, each with a result you can measure.

Ticks are your own notes on how far you are. They stay in this browser and nowhere else. The times assume 8 hours a week; go slower or faster as your days allow.

More roadmaps

  • Backend developer, from zero

    Student or fresher0 to 2 years

    From your first program to an API you built, tested and put online, with a database behind it.

    About 8 months at 10 hours a week · 7 stages

  • Full-stack developer in a year

    Student or fresher0 to 2 years

    One language from the browser to the database, and one real app you design, build, test and put online.

    About a year at 10 hours a week · 8 stages