Skip to content
All paths
IntermediateCareer

Interview Preparation

A structured plan for software engineering interviews: data structures and algorithms by pattern, system design, CS fundamentals, role-specific questions for Java and DevOps, and behavioural practice with mock interviews.

What you will be able to do

  • Recognise the common problem patterns and solve medium problems in 30–40 minutes
  • Explain time and space complexity for any solution you write
  • Run a system design interview from requirements to trade-offs
  • Answer Java, Spring and DevOps questions with depth
  • Tell clear STAR stories about your own work

Roadmap

Bar length shows each module's share of study time.

  1. 1

    Data structures & algorithms

    Learn patterns, not individual problems.

    87h14 topics
    Not started
    Show topics
    • State the complexity of any solution you write.

      • Learn Big-O, Big-Theta and Big-Omega
      • Analyse loops and recursion costs
      • Compare time and space trade-offs
    • Solve prefix sums, in-place updates and string manipulation problems.

      • Learn in-place updates and swaps
      • Build prefix sums for range queries
      • Practise string building and parsing
      • Practice: Two Sum, Best Time to Buy Stock
      • Practice: Product of Array Except Self
      • Solve 15 easy and medium problems
    • Use hashing to turn O(n²) into O(n).

      • Learn how hash maps work internally
      • Count frequencies with maps
      • Use sets for membership checks
      • Practice: Group Anagrams, Contains Duplicate
      • Practice: Longest Consecutive Sequence
    • Recognise and apply window and pointer patterns.

      • Learn the opposite-ends pointer pattern
      • Learn fixed and variable sliding windows
      • Practice: Valid Palindrome, 3Sum
      • Practice: Container With Most Water
      • Practice: Longest Substring Without Repeating Characters
    • Solve bracket, next-greater and queue problems.

      • Implement stacks and queues from scratch
      • Learn the monotonic stack pattern
      • Practice: Valid Parentheses, Min Stack
      • Practice: Daily Temperatures, Next Greater Element
    • Reverse, merge and detect cycles without bugs.

      • Implement a singly linked list
      • Use dummy heads and fast/slow pointers
      • Practice: Reverse Linked List, Merge Two Lists
      • Practice: Linked List Cycle, Remove Nth Node
    • Apply binary search to sorted data and to monotonic answer spaces.

      • Write a bug-free binary search template
      • Find first and last positions
      • Search rotated sorted arrays
      • Binary search on the answer space
      • Practice: Koko Eating Bananas
    • Generate subsets, permutations and combinations.

      • Trace the call stack and base cases
      • Learn the choose-explore-unchoose pattern
      • Generate subsets and permutations
      • Prune branches early
      • Practice: Combination Sum, N-Queens
      • Practice: Word Search
    • Traverse trees and solve depth, path and BST problems.

      • Implement DFS traversals recursively and iteratively
      • Use BFS for level order
      • Solve depth and path sum problems
      • Validate and search a BST
      • Practice: Max Depth, Lowest Common Ancestor
      • Practice: Validate Binary Search Tree
    • Solve top-k and merge-k problems.

      • Learn heap operations and their costs
      • Use PriorityQueue with comparators
      • Practice: Kth Largest Element, Top K Frequent
      • Practice: Merge K Sorted Lists
    • Model problems as graphs and pick the right traversal.

      • Represent graphs with adjacency lists
      • Traverse grids and graphs with BFS and DFS
      • Detect cycles and order with topological sort
      • Find shortest paths with Dijkstra
      • Practice: Number of Islands, Course Schedule
      • Practice: Network Delay Time
    • Go from recursion to memoisation to tabulation on 1D and 2D problems.

      • Identify states and transitions
      • Convert recursion to memoisation
      • Convert memoisation to tabulation
      • Solve 1D problems: Climbing Stairs, House Robber
      • Solve 2D problems: LCS, Unique Paths
      • Practice knapsack and Coin Change
    • Solve interval scheduling and greedy choice problems.

      • Learn when greedy choice is safe
      • Sort and merge intervals
      • Practice: Merge Intervals, Non-overlapping Intervals
      • Practice: Jump Game, Gas Station
    • Use tries for prefixes and union-find for connectivity.

      • Implement a trie with insert and search
      • Implement union-find with path compression
      • Practice: Implement Trie, Word Search II
      • Practice: Number of Connected Components
  2. 2

    System design

    Structured thinking about large systems.

    24h4 topics
    Not started
    Show topics
    Module resources:System Design Primer ↗
  3. 3

    CS fundamentals

    The theory questions that still come up.

    13h3 topics
    Not started
    Show topics
  4. 4

    Role-specific questions

    Depth in your own stack.

    16h3 topics
    Not started
    Show topics
    • Explain collections internals, concurrency, JVM and Spring internals.

      • Explain HashMap and ConcurrentHashMap internals
      • Review equals, hashCode and immutability
      • Answer threading and synchronization questions
      • Explain JVM memory and GC
      • Explain Spring beans, proxies and @Transactional
    • Walk through troubleshooting and design scenarios.

      • Explain Docker images, layers and networking
      • Debug a CrashLoopBackOff pod
      • Design a CI/CD pipeline aloud
      • Walk through a production outage scenario
      • Compare deployment strategies like blue-green and canary
    • Solve ranking, aggregation and join puzzles quickly.

      • Practice ranking with ROW_NUMBER and DENSE_RANK
      • Practice: Second Highest Salary, Nth Highest
      • Solve aggregation and self-join puzzles
      • Practise timed SQL problems
  5. 5

    Behavioural & job search

    Get the interview, then close it.

    14h3 topics
    Not started
    Show topics
    • A one-page resume with measurable impact and pinned projects.

      • Rewrite bullets with measurable impact
      • Fit the resume on one page
      • Update LinkedIn headline and summary
      • Pin projects and polish GitHub READMEs
    • Six to eight polished stories: conflict, failure, leadership, impact.

      • Learn the STAR structure
      • Write stories for conflict and failure
      • Write stories for leadership and impact
      • Rehearse each story in two minutes
    • Do at least four timed mocks and fix what they expose.

      • Schedule four or more timed mocks
      • Mix DSA, system design and behavioural rounds
      • Record feedback after each mock
      • Drill weak areas between mocks
      • Practise thinking aloud while coding