Skip to content

Software Engineer (SDE) roadmap

Software Engineer (SDE) roadmap for freshers & students

Crack campus placements and your first SDE offer

Fresher SDE hiring in India is mostly an online assessment followed by DSA and CS fundamentals rounds. Consistent pattern-based DSA practice in one language, solid OOP, DBMS and OS, and one project you can defend clear most product and service company drives.

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 22 topics (0 of 16 must-do)

Saved on this device. No login needed.

Jump to a step:

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

    Language & DSA foundations

    Write correct code fast in one language and analyse its complexity.
    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

    Pick Java, C++ or Python and stay with it for every round.

    Must do

    Arrays, strings & hashing

    The most common category in online assessments and first technical rounds.

    What to learn
    • Big-O for time and space, and reading constraints to pick an approach
    • Frequency counting with hash maps and sets
    • In-place array manipulation and sorting tricks
    • String problems: anagrams, palindromes, substrings
    • Matrix traversal: spiral, rotation, search

    About 25 problems; start easy and move to medium within two weeks.

    Important

    Git, Linux & engineering basics

    Everyday tools that make your projects credible and your first months at work easier.

    What to learn
    • Git: branches, commits, pull requests and merge conflicts
    • Linux command line: files, processes, permissions, grep
    • Using a debugger instead of print statements
    • Reading documentation and error messages

    Git and basic Linux are enough for now.

    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 to explain concepts and review your solutions after you attempt them, never before; DSA rounds test you without AI.

    You are done with this step when:You solve most easy array, string and hash-map problems in under 20 minutes with the right complexity.

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

    Core DSA patterns

    Learn the patterns that cover most OA and first-round problems.
    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

    About 20 problems across two pointers, sliding window and prefix sums.

    Must do

    Sorting & binary search

    Binary search is easy to get wrong at the boundaries, and binary search on the answer is a favourite medium-level trick.

    What to learn
    • Merge sort and quick sort, and when sorting is stable
    • Classic binary search and lower / upper bound
    • Search in rotated sorted arrays
    • Binary search on the answer (minimum capacity or minimum speed problems)
    • Custom comparators in your language

    About 15 problems, including binary search on the answer.

    Must do

    Linked lists, stacks & queues

    Pointer manipulation and stack-based patterns test whether you can reason carefully about state.

    What to learn
    • Reverse, merge and detect cycles in linked lists
    • Stack problems: valid brackets, next greater element
    • Monotonic stack and monotonic deque
    • Queue and deque basics, implementing a queue with stacks
    • LRU cache with a hash map and doubly linked list

    About 20 problems, including monotonic stack and LRU cache.

    Must do

    Recursion & backtracking

    Recursion underpins trees, graphs and DP, so it must feel natural before you move on.

    What to learn
    • Base cases, the call stack and recursion trees
    • Subsets, permutations and combinations
    • Backtracking with pruning: N-Queens, word search, sudoku
    • Time complexity of recursive solutions

    About 15 problems; do not move to trees until recursion feels natural.

    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

    About 25 problems; trees are asked in almost every product-company round.

    You are done with this step when:You can name the pattern for a new medium problem within five minutes and code it in thirty.

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

    Advanced DSA

    Handle the harder OA question that decides shortlists at product companies.
    Must do

    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

    About 15 problems on heaps, greedy and intervals.

    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

    About 20 problems; grids, topological sort and Dijkstra cover most of them.

    Must do

    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

    About 30 problems; learn the state patterns rather than memorising solutions.

    Optional

    Tries, segment trees & bit manipulation

    Less frequent structures that occasionally decide a hard OA problem.

    What to learn
    • Trie for prefix search and word problems
    • Bit manipulation: XOR tricks, masks, counting set bits
    • Segment tree or Fenwick tree for range queries
    • Sieve and basic number theory (gcd, modular arithmetic)

    Tries and bit tricks first; segment trees only if you target hard OAs.

    You are done with this step when:Around 200 problems solved across patterns, and timed OAs of two mediums in 90 minutes cleared.

  4. Step 4 · Weeks 12–14 (3 weeks)

    CS core subjects & aptitude

    Clear the CS and aptitude sections that filter campus candidates.
    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

    Explain each pillar with code in your language, not textbook definitions.

    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

    Practise writing SQL by hand: joins, GROUP BY and the second-highest-salary family.

    Must do

    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

    Processes, threads, deadlock and paging come up most.

    Important

    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

    TCP vs UDP, DNS and what happens when you type a URL.

    Must do

    Aptitude & OA reasoning

    Many campus drives filter on aptitude before anyone sees your code.

    What to learn
    • Quantitative: percentages, ratios, time and work, probability
    • Logical reasoning: series, puzzles, seating arrangements
    • Verbal ability: reading comprehension and grammar
    • Speed and accuracy under a timed, sectional format

    Essential for service-company and mass-recruiter drives; take timed sectional tests.

    You are done with this step when:You can answer the 50 most common OOP, DBMS, OS and networks questions aloud, and score steadily on timed aptitude tests.

  5. Step 5 · Weeks 15–17 (3 weeks)

    Projects & interview readiness

    Give interviewers something to dig into and practise performing under pressure.
    Must do

    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

    One deployed project with a database beats several tutorial clones.

    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
    Optional

    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

    Some product companies ask a simple design such as a parking lot; know classes and relationships.

    Optional

    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

    Know what a load balancer, cache and database replica do; full design is not expected.

    You are done with this step when:Three timed mock rounds done, a 2-minute project walkthrough rehearsed, and a one-page resume ready.

  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.

  • Competitive programming ratings as a goal

    Contests help speed, but interviews reward clean pattern-based solutions and clear explanation, not a Codeforces rating.

  • Solving 800+ problems

    Around 220–300 well-understood problems across patterns beats a high count you cannot re-solve or explain.

  • Learning DSA in two languages

    Switching languages costs weeks. Interviewers care about logic, and every major language is accepted.

  • Full high-level system design

    Fresher loops rarely include it. A conceptual grasp of caches and load balancers is enough.

  • Advanced structures such as suffix arrays, heavy-light decomposition and FFT

    They almost never appear in placement interviews; time is better spent on DP and graphs.

  • Many shallow certifications

    Online course certificates carry little weight next to a solved-problem record, a project and good CS fundamentals.

THE INTERVIEW

What happens in the interview.

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

  1. 1

    Online assessment

    Two to four coding problems in 60–120 minutes; many drives add aptitude and CS MCQs. Service companies weight aptitude more.

  2. 2

    Technical round 1

    One or two DSA problems on a shared editor, with complexity discussion and follow-ups.

  3. 3

    Technical round 2

    Harder DSA or CS fundamentals: OOP, DBMS with a SQL query, OS and a project deep dive.

  4. 4

    HR / managerial

    Project walkthrough, strengths, relocation, bond or service agreement, and joining date.

WHAT INTERVIEWS ASK MOST

Where to spend your time

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

  • DSA & problem solving50%
  • CS fundamentals20%
  • Behavioral & projects17%
  • OOP & low-level design10%
  • System design3%

FOR YOUR RESUME

What to show on your resume.

  • A consistent problem-solving record on a coding platform, across patterns rather than only easy problems
  • One deployed project with a database, a GitHub repo and a clear README
  • Internship work or merged open-source pull requests
  • Hackathon or contest results, if you have them
  • Resume bullets that state what you built and the result, not just the stack

NOT YOUR LEVEL?

Pick a different level.

A LITTLE MORE CLARITY

Software Engineer (SDE) roadmap: common questions

How many DSA problems should I solve for placements?

Around 220–300 problems spread across the core patterns is enough for most product companies, if you can re-solve and explain them. Service-company drives need fewer, mostly easy problems plus aptitude.

Which language is best for DSA interviews?

Java, C++ and Python are all accepted. C++ is popular for its STL and speed, Java for its readability and job market, Python for brevity. Pick the one you write most fluently and do not switch.

How is preparing for service companies different from product companies?

Service-company drives are aptitude-heavy, with easy coding and CS basics. Product companies expect medium-to-hard DSA, deeper CS questions and a project you can defend. This plan covers both; weight aptitude higher if you target mass recruiters.

When should I start preparing for campus placements?

Ideally 5–6 months before your drive. With about 13 hours a week this plan takes 17 weeks, and you should keep solving a few problems a week after it.

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