Blind 75 in JavaScript
Solve the Blind 75 LeetCode interview problems in JavaScript: arrays, two pointers, trees, graphs, dynamic programming and more, with tests in the browser.
The Blind 75 is a list of 75 LeetCode problems that a Meta engineer shared on the Blind forum as the shortest path through the patterns coding interviews keep reusing. It is still the most common starting point for data structures and algorithms prep, including for frontend roles where the interview is in JavaScript.
This roadmap has 73 of the 75 problems, grouped by pattern. Each one runs in the browser with a TypeScript starter and tests, so you can write plain JavaScript or add types, and check your answer against edge cases before you look at a solution.
Go through the topics in order. Arrays & Hashing and Two Pointers teach the habits the rest depend on: reach for a Map or Set to trade memory for speed, and walk an array from both ends instead of nesting loops. Trees, graphs and dynamic programming come later because they build on recursion and on those same lookups. In JavaScript, watch for the details interviewers probe: Map keeps insertion order, sort() compares strings unless you pass a comparator, and numbers lose precision past 2^53.
Arrays & Hashing
Use a Map or Set to turn nested loops into one pass. Most problems here have an O(n²) brute force and an O(n) answer with a lookup table.
Two Pointers
Walk a sorted array or string from both ends, or with a slow and fast index, to avoid a second loop.
Sliding Window
Grow and shrink a window over a string while a Map tracks what is inside it.
Stack
Push openers, pop on closers. A plain JavaScript array is your stack.
Binary Search
Halve the search space each step. The rotated-array variants test whether you can tell which half is still sorted.
Linked List
Build the nodes yourself and move pointers carefully. Fast and slow pointers find cycles and the middle of the list.
Trees
Recursion and level-order traversal with a queue. Most answers are a short depth-first function that returns a value up the tree.
Heap / Priority Queue
JavaScript has no built-in heap, so you write one, or keep two of them balanced to track a running median.
Backtracking
Try a choice, recurse, undo it. Prune early so the search stays small.
Graphs
Depth-first and breadth-first search over grids and adjacency lists, plus topological sort for dependency problems like course schedules.
Dynamic Programming
Find the recurrence, then store answers to subproblems in an array instead of recomputing them.
Intervals
Sort by start time with a numeric comparator, then merge or count overlaps in one pass.
Matrix
In-place updates on 2D arrays. Track rows, columns or layers so you do not overwrite values you still need.
Bit Manipulation
JavaScript bitwise operators work on 32-bit signed integers, so use >>> 0 when you need an unsigned result.