Roadmap
Everything on the site in one map, in the order it makes sense to learn it. Start at stage 1, or jump to whatever you need.
1. Learn the foundations
Articles that explain how things work, before any tricks, grouped by topic.
Fundamentals
The ideas everything else builds on: complexity, and how to approach DSA.
Data Structures
How each structure stores data, and what each operation costs.
Web Security
How to protect a website and its users: common attacks, safe defaults and handling tokens.
AI Engineering
Building software with AI in the loop: workflows, coding agents and keeping quality under control.
2. Learn the patterns, then practise
Each box is one pattern. Read the pattern first, then work through its problems from easiest to hardest.
easymediumhard
1Arrays and strings
Techniques for getting through a list or a piece of text in a single pass.
Hashing
Remember what you have seen in a map or set, so each later check is a lookup instead of a loop.
Two Pointers
Move two indexes through a sequence, usually from both ends towards the middle, to avoid a nested loop.
Sliding Window
Keep a running result for a contiguous range and update it as the range moves, instead of recalculating from scratch.
Prefix Sums
Store running totals once, then get the sum of any range with a single subtraction.
2Searching
Finding a value or a boundary in sorted data without looking at every item.
Binary Search
Halve the search range at every step by comparing against the middle of sorted data.
Binary Search on the Answer
Guess the answer, test the guess with a quick yes-or-no check, and halve the range of possible answers.
Peak Finding
Find the top of data that rises then falls by asking which slope the middle item is on.
Matrix Search
Use the order in a sorted grid to throw away a whole row or column with each comparison.
Rotated Sorted Arrays
A rotated sorted array has at most one drop, so one comparison with the right end still lets you throw away half of it.
3Stacks and linked lists
Problems where the order things arrive in, or the links between them, do the work.
Stack and Monotonic Stack
Keep unfinished items on a stack and resolve the most recent one first, in O(n).
Linked List Pointer Techniques
Solve linked list problems in place with fast and slow pointers, link reversal and a dummy head.
3. Revise with cheat sheets
A whole subject on one page, for quick review. Each chip opens the sheet at that group.
Programming languages
The syntax and built-in tools of a language: JavaScript, Python, Java, PHP.
JavaScript Cheat Sheet
Variables, strings, arrays, objects, functions, async code and the DOM as short examples.
Python Cheat Sheet
Variables, strings, lists, dictionaries, loops, functions, classes and files as short examples.
Computer science
Ideas that hold in any language: data structures, algorithms and their cost.
DSA Algorithms Cheat Sheet
Big O, searching, sorting, array techniques, recursion, graphs and dynamic programming as short code.
Markup and styling
What a web page is made of and how it is laid out: HTML and CSS.
HTML Cheat Sheet
Page skeleton, text, links, images, lists, tables, forms and layout tags as short examples.
CSS Cheat Sheet
Selectors, the box model, units, flexbox, grid, positioning and responsive design as short examples.
Frameworks and runtimes
Tools built on top of a language for making apps and servers: React, Node.js.
React Cheat Sheet
Components, JSX, props, state, effects, context, hooks, performance and React 19 as short examples.
Platforms
Products you configure and build on, with their own data model and tools: Salesforce.
Salesforce Cheat Sheet
The data model, SOQL, Apex, triggers, limits, tests, LWC, security and the sf CLI as short examples.
AI tools
Working with AI models and assistants: prompting, tools and APIs.
Claude Cheat Sheet
Models, prompting, the Messages API, tools, caching, errors and Claude Code as short examples.
ChatGPT Cheat Sheet
Models, prompting, the app's features and the OpenAI API with tools, caching and errors as short examples.