How to prepare for coding interviews

Coding interviews test three things: whether you know your language well, whether you can solve a new problem with the right data structure and algorithm, and, for senior roles, whether you can design a system and explain the trade-offs.

This roadmap prepares all three in order. Get fluent in JavaScript and the browser, learn the data structures, Big-O and the problem-solving patterns behind most interview questions with visualizers and graded problems, then practise frontend system design with real case studies.

The path

Get fluent in JavaScript, work through data structures, Big-O and the problem-solving patterns behind most interview questions, then learn to design frontend systems: architecture, performance and the best practices senior interviews ask about.

  1. Step 1

    JS Mastery

    69 lessons

    Interview answers are code: be fluent in the language you will write them in.

    Covers closures, this, prototypes, promises and the event loop, the topics JavaScript interviews ask about most. Move on when you can explain each one with a short example.

    Units: Basics Bay, Function Forest, Data Dunes, Intermediate Isles, DOM Jungle, Async Archipelago, Advanced Abyss

  2. Step 2

    Web APIs and Browser Internals

    51 lessons

    Frontend interviews probe the platform: the event loop, rendering, events, storage and fetch.

    Covers rendering, the event loop, events, storage and fetch. Move on when you can answer how the browser works questions without hand-waving.

    Units: How the Browser Works, The DOM API Deep Dive, Events, Storage, Network, Observers and Timing, Workers and Concurrency, Graphics and Media, Device and Permissions, Security and Platform

  3. Step 3

    DSA Mastery

    83 lessons

    Data structures, Big-O and the patterns behind most interview problems.

    Covers Big-O, arrays, hashing, two pointers, sliding window, recursion, trees, graphs and dynamic programming. You are ready when you can recognise the pattern behind a new problem and code it in about 30 minutes.

    Units: Boot Camp, Linear Land, Thinking Loops, Branching Forest, Workshop, Pointer Pass, Counting Caves, Choice Canyon, Explorer Peaks, Graph Summit, Expert Ridge, Boss Castle, Graph Depths, Path Finders, Graph Masters, DP Forge, DP Tables, DP Summit

  4. Step 4

    Frontend System Design

    45 lessons

    Design real frontends: architecture, state, rendering, performance, accessibility and best practices.

    Covers an interview framework, rendering, state, networking, performance and seven case studies. The finish line: you can lead a 45-minute frontend design interview.

    Units: The Design Interview, Rendering and Architecture, State and Data Flow, Networking and APIs, Performance, Accessibility, i18n and UX, Security and Reliability, Case Studies

  5. Finish line

    Every step on this roadmap is ready to learn today.

Frequently asked questions

How long should I prepare for coding interviews?

Most people need eight to twelve weeks of steady practice if they already code, and longer when starting the data structures from scratch. Consistent daily practice beats long weekend sessions.

Which data structures and algorithms come up most?

Arrays and strings, hash maps, two pointers and sliding window, stacks and queues, trees and graphs with BFS and DFS, heaps, recursion and dynamic programming. All of them are in the DSA course.

Can I prepare for coding interviews in JavaScript?

Yes. Most companies let you choose your language, and every problem on this roadmap is solved in JavaScript.

Is this interview roadmap free?

Every step starts free: units 1 and 2 of every course. DevArcade Pro opens the remaining units.