Skip to content

Software Engineer (SDE) roadmap

Software Engineer (SDE) roadmap for 2–5 years experience

Move up to SDE-2

At 2–5 years, product companies still screen hard on DSA, but they now expect low-level design, concurrency and an introduction to system design. Your work experience replaces college projects, and interviewers will probe the systems you have actually built.

YOUR ROADMAP

What to study, step by step.

5 steps. Each topic says what to learn and has a button to practise it.

  • Must doInterviews ask this. Do not skip.
  • ImportantDo it if you can.
  • OptionalOnly if you have extra time.
Not started yetYou finished 0 of 18 topics (0 of 10 must-do)

Saved on this device. No login needed.

Jump to a step:

  1. Step 1 · Weeks 1–3 (3 weeks)

    DSA revival

    Get back to solving mediums in 30 minutes after years of feature work.
    Must do

    Two pointers, sliding window & prefix sums

    Patterns that turn brute-force O(n²) solutions into O(n), and show up in almost every OA.

    What to learn
    • Two pointers on sorted arrays and from both ends
    • Fixed and variable-size sliding windows
    • Prefix sums and subarray-sum problems with a hash map
    • Fast and slow pointers
    • Recognising which pattern a problem needs from its wording

    Re-learn the patterns first; they come back fast.

    Must do

    Trees & binary search trees

    Tree questions appear in nearly every product-company loop and reward clean recursive thinking.

    What to learn
    • Pre-, in-, post-order and level-order traversal
    • Height, diameter, balanced and symmetric trees
    • Lowest common ancestor and path-sum problems
    • BST insert, delete, validate and kth smallest
    • Serialise and deserialise a binary tree
    Must do

    Graphs

    Graph problems separate medium from strong candidates, and many are trees or grids in disguise.

    What to learn
    • Adjacency lists, BFS and DFS on graphs and grids
    • Connected components and number-of-islands style problems
    • Topological sort and cycle detection
    • Shortest paths: BFS, Dijkstra and 0-1 BFS
    • Union-find for connectivity

    BFS on grids, topological sort and union-find are common at this level.

    Important

    Dynamic programming

    DP is the topic freshers fear most, and it becomes manageable once you learn the common state patterns.

    What to learn
    • Memoisation first, then convert to tabulation
    • 1D DP: climbing stairs, house robber, coin change
    • 2D DP: grid paths, LCS, edit distance, knapsack
    • DP on subsequences, strings and partitions
    • Space optimisation from 2D to 1D

    Focus on the common 1D and 2D patterns; about 20 problems.

    Important

    Heaps, greedy & intervals

    Priority queues and greedy choices solve scheduling and top-k problems that interviewers like.

    What to learn
    • Heap operations and their costs
    • Top-k, kth largest and merge k sorted lists
    • Median of a data stream with two heaps
    • Interval problems: merge, insert, meeting rooms
    • When greedy works and how to argue it is correct

    You are done with this step when:About 100 mediums re-solved across patterns, with two timed mocks cleared.

  2. Step 2 · Weeks 4–5 (2 weeks)

    Language & concurrency depth

    Answer the internals questions that separate SDE-2 from SDE-1.
    Must do

    One language in depth (Java, C++ or Python)

    You write every coding round in one language, so its syntax, standard library and costs must be automatic.

    What to learn
    • Collections you use daily: lists, maps, sets, heaps, deques
    • Time cost of common operations (HashMap get, ArrayList insert, string concatenation)
    • Strings, immutability and building strings efficiently
    • Memory basics: stack vs heap, references, garbage collection or RAII
    • Language-specific questions: Java equals/hashCode, C++ STL and pointers, Python mutability

    Collections internals, memory model and garbage collection or ownership in your language.

    Must do

    Concurrency & multithreading

    SDE-2 and senior loops probe whether you can write thread-safe code and explain why it is safe.

    What to learn
    • Race conditions, locks and atomic operations
    • Producer-consumer and thread pools
    • Deadlock, livelock and how to avoid them
    • Concurrent collections in your language
    • Thread-safe singleton and a blocking queue from scratch

    Write a thread-safe blocking queue and explain each lock.

    You are done with this step when:You can implement producer-consumer correctly and explain how a HashMap or equivalent works inside.

  3. Step 3 · Weeks 6–8 (3 weeks)

    OOP & low-level design

    Design and code a small system cleanly within the round.
    Must do

    Object-oriented programming

    Asked in almost every campus interview and the base for low-level design later.

    What to learn
    • Encapsulation, abstraction, inheritance and polymorphism with code examples
    • Abstract classes vs interfaces
    • Overloading vs overriding, static vs dynamic dispatch
    • Composition over inheritance
    • SOLID principles with simple examples

    Expect SOLID and composition questions tied to real code, not definitions.

    Must do

    Low-level design & design patterns

    Design classes and interactions for a small system with clean, extensible code.

    What to learn
    • A method: requirements, entities, relationships, APIs, then code
    • Common patterns: strategy, factory, observer, singleton, builder, decorator
    • Classic prompts: parking lot, elevator, splitwise, movie-ticket booking, rate limiter
    • UML class diagrams at a sketch level
    • Writing runnable, testable code within 60–90 minutes

    Practise at least six problems end to end with runnable code.

    Important

    Code quality, testing & code review

    Working engineers are judged on whether their code is readable, tested and easy to change.

    What to learn
    • Naming, small functions and clear interfaces
    • Unit tests and test doubles
    • Refactoring safely
    • Giving and receiving code review

    Interviewers notice naming, extensibility and testability.

    Important

    AI for developers

    AI coding assistants are now a normal part of software work, so you need to understand how they work, use them well and stay able to code without them.

    What to learn
    • How LLMs work at a high level: tokens, context window, training data and why they hallucinate
    • Prompting well: context, constraints, examples and asking for tests and edge cases
    • Using AI coding assistants and verifying output with tests, reviews and complexity analysis
    • Calling an LLM API from code: structured output, errors, rate limits and cost
    • Where AI fits in system design: an LLM as a slow, costly and sometimes wrong dependency
    • Responsible use: licensing, confidential code and company policy on AI tools

    Use AI in daily work with judgement, review generated code for design and edge cases, and build one small feature on an LLM API.

    You are done with this step when:Parking lot, splitwise and a rate limiter each designed and coded in under 90 minutes.

  4. Step 4 · Weeks 9–11 (3 weeks)

    System design foundations

    Design a common service with sensible trade-offs.
    Must do

    High-level system design

    Design a scalable service end to end: APIs, data, scaling, and the trade-offs behind each choice.

    What to learn
    • A framework: requirements, estimates, API, data model, high-level design, deep dives
    • Building blocks: load balancers, caches, CDNs, queues, object storage
    • Classic prompts: URL shortener, news feed, chat, rate limiter, notification service
    • Scaling reads and writes: replication, sharding, caching
    • Calling out bottlenecks and failure modes

    Start with URL shortener, rate limiter and notification service.

    Must do

    DBMS & SQL

    SQL queries and database theory are tested in OAs, campus rounds and every design interview later.

    What to learn
    • Normalisation up to BCNF and when to denormalise
    • Joins, GROUP BY, subqueries and window functions
    • Indexes: B-tree basics and when an index is used
    • Transactions, ACID and isolation levels
    • SQL vs NoSQL at a conceptual level

    Indexes, transactions and isolation levels as they appear in your designs.

    Important

    Distributed systems fundamentals

    Senior design rounds expect you to reason about consistency, failure and coordination, not just draw boxes.

    What to learn
    • CAP and PACELC in practical terms
    • Consistency models and replication strategies
    • Partitioning and consistent hashing
    • Idempotency, retries and exactly-once myths
    • Leader election and consensus at a conceptual level

    Replication, partitioning and caching trade-offs; consensus can wait.

    Optional

    Computer networks

    Networking questions check that you understand the systems your code talks over.

    What to learn
    • OSI and TCP/IP layers
    • TCP vs UDP, the three-way handshake
    • DNS, HTTP / HTTPS and TLS basics
    • What happens when you type a URL in the browser
    • IP addressing and subnetting basics

    HTTP, TLS and load-balancer behaviour at the level designs need.

    You are done with this step when:Four designs practised aloud in 45 minutes each with estimates and a data model.

  5. Step 5 · Week 12 (1 week)

    Stories & work projects

    Present your experience as ownership and impact.
    Must do

    Behavioral & HR rounds

    Clear, structured stories about your work often decide between two equally strong coders.

    What to learn
    • STAR structure for answers
    • A 2-minute walkthrough of your best project
    • Stories for conflict, failure, deadlines and learning something fast
    • Why this company, relocation, bond and joining questions

    Ownership, conflict, a production incident and a missed deadline.

    Important

    Projects & internships

    One or two real projects give interviewers something to dig into beyond DSA.

    What to learn
    • Build something with a real user, a database and a deployed link
    • Know every design decision and what you would change
    • A clean README and a short demo
    • Resume bullets with what you built and the result

    Prepare a deep dive of one system you built at work, with numbers.

    Optional

    Operating systems

    A core campus subject that also explains how your code actually runs.

    What to learn
    • Processes vs threads and context switching
    • CPU scheduling algorithms
    • Synchronisation: mutex, semaphore, deadlock conditions
    • Memory management: paging, virtual memory, page replacement
    • System calls and what happens on fork

    Quick refresh; some loops still ask threads, memory and scheduling.

    You are done with this step when:Five STAR stories written and one full mock interview done.

  6. You are interview-ready

    Now tailor your resume to each job and start applying.

SAVE YOUR TIME

Don't waste time on these (yet).

Popular topics that will not help your interviews at this stage.

  • Aptitude practice

    Experienced-hire loops rarely include an aptitude section. Spend that time on DSA and design.

  • Re-reading CS textbooks cover to cover

    Revise the OS, DBMS and networks questions that come up in design and concurrency; deep theory is not tested again.

  • Hard DP and niche structures

    SDE-2 screens mostly use mediums. Segment trees and hard DP rarely justify the time.

  • Consensus algorithms in depth

    Raft and Paxos details are a senior conversation at most. Know replication and partitioning first.

  • New frameworks for your resume

    Interviewers probe depth in what you have used. A new framework learned for the interview rarely helps.

THE INTERVIEW

What happens in the interview.

A typical set of rounds at this stage. Small startups may do fewer.

  1. 1

    Online assessment or screening

    One or two medium DSA problems, timed, on a coding platform or with an engineer.

  2. 2

    DSA round

    One or two mediums with follow-ups on optimisation, edge cases and complexity.

  3. 3

    Low-level design / machine coding

    Design and code a system such as a parking lot or splitwise in 60–90 minutes.

  4. 4

    System design (light)

    Design a common service, with probing on data model, caching and scaling.

  5. 5

    Hiring manager

    Ownership, impact, collaboration and why you are moving.

WHAT INTERVIEWS ASK MOST

Where to spend your time

Share of interview time, roughly, for software engineer (sde) roles at this stage.

  • DSA & problem solving35%
  • OOP & low-level design20%
  • System design20%
  • Behavioral & projects15%
  • CS fundamentals10%

FOR YOUR RESUME

What to show on your resume.

  • Features you owned end to end, with user or business impact
  • Performance or reliability improvements with numbers, for example p99 latency reduced from 800ms to 200ms
  • A design you proposed or a component other engineers reuse
  • Production incidents you debugged and the fixes that followed

NOT YOUR LEVEL?

Pick a different level.

A LITTLE MORE CLARITY

Software Engineer (SDE) roadmap: common questions

How much DSA does an SDE-2 need?

Enough to solve mediums reliably in 30 minutes. Most product companies still run one or two DSA rounds at this level, so about 100–150 well-revised problems is a sensible target.

Is system design asked for 2–5 years of experience?

Often, in a lighter form: one common service with a focus on data model, APIs and basic scaling. Low-level design is usually weighted more at this level.

What is the difference between LLD and machine coding?

Both ask you to design classes and write working code. LLD rounds weigh class design and patterns more; machine coding rounds weigh a running, tested solution within the time.

OTHER JOBS

All roadmaps

BUILD YOUR NEXT OPPORTUNITY

Start step 1 today.

Practise coding, system design and interview questions for free. Sign in to save progress on any device.

Get Started Free