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.

#179
easy
blind75
#183
easy
arrays
blind75
#188
easy
blind 75
#191
medium
blind75
#194
medium
blind 75
#197
medium
blind75
#199
medium
blind75
array
#201
medium
blind75
array
hash-set

Two Pointers

Walk a sorted array or string from both ends, or with a slow and fast index, to avoid a second loop.

#203
easy
blind75
string
two-pointers
#205
medium
blind75
array
two-pointers
#207
medium
blind75
array
two-pointers
#209
easy
blind75
array
dynamic-programming

Sliding Window

Grow and shrink a window over a string while a Map tracks what is inside it.

#211
medium
blind75
string
sliding-window
hash-map
#213
medium
blind75
string
sliding-window
#215
hard
blind75
string
sliding-window
hash-map

Stack

Push openers, pop on closers. A plain JavaScript array is your stack.

#217
easy
blind75
string
stack

Binary Search

Halve the search space each step. The rotated-array variants test whether you can tell which half is still sorted.

#219
medium
blind75
array
binary-search
#221
medium
blind75
array
binary-search

Linked List

Build the nodes yourself and move pointers carefully. Fast and slow pointers find cycles and the middle of the list.

#223
easy
blind75
linked-list
#225
easy
blind75
linked-list
#227
medium
blind75
linked-list
#229
medium
blind75
linked-list
two-pointers
#231
easy
blind75
linked-list
two-pointers
#233
hard
blind75
linked-list
heap
divide-and-conquer

Trees

Recursion and level-order traversal with a queue. Most answers are a short depth-first function that returns a value up the tree.

#235
easy
blind75
binary-tree
recursion
#237
easy
blind75
binary-tree
recursion
#239
easy
blind75
binary-tree
recursion
#241
easy
blind75
binary-tree
recursion
#243
medium
blind75
binary-search-tree
recursion
#245
medium
blind75
binary-tree
bfs
#247
medium
blind75
binary-search-tree
recursion
#249
medium
blind75
binary-search-tree
recursion
#251
medium
blind75
binary-tree
recursion
#253
hard
blind75
binary-tree
recursion
#255
hard
blind75
binary-tree
serialization
#263
medium
blind75
trie
data-structure

Heap / Priority Queue

JavaScript has no built-in heap, so you write one, or keep two of them balanced to track a running median.

#257
hard
blind75
heap
data-stream

Backtracking

Try a choice, recurse, undo it. Prune early so the search stays small.

#259
medium
blind75
backtracking
recursion
#261
medium
blind75
backtracking
matrix
#267
hard
blind75
trie
backtracking
matrix

Graphs

Depth-first and breadth-first search over grids and adjacency lists, plus topological sort for dependency problems like course schedules.

#269
medium
blind75
matrix
dfs
#271
medium
blind75
graph
dfs
#273
medium
blind75
matrix
dfs
#275
medium
blind75
graph
topological-sort
#277
medium
blind75
graph
union-find
#279
medium
blind75
graph
union-find
#281
hard
blind75
graph
topological-sort

Dynamic Programming

Find the recurrence, then store answers to subproblems in an array instead of recomputing them.

#283
easy
blind75
dynamic-programming
#285
medium
blind75
dynamic-programming
#287
medium
blind75
dynamic-programming
#289
medium
blind75
dynamic-programming
string
#291
medium
blind75
dynamic-programming
string
#293
medium
blind75
dynamic-programming
string
#295
medium
blind75
dynamic-programming
#297
medium
blind75
dynamic-programming
array
#299
medium
blind75
dynamic-programming
string
#301
medium
blind75
dynamic-programming
array
#305
medium
blind75
dynamic-programming
string
#307
medium
blind75
dynamic-programming
array
#309
medium
blind75
dynamic-programming
array
greedy

Intervals

Sort by start time with a numeric comparator, then merge or count overlaps in one pass.

#311
medium
blind75
intervals
#313
medium
blind75
intervals
#315
medium
blind75
intervals
greedy
#317
easy
blind75
intervals
#319
medium
blind75
intervals
greedy

Matrix

In-place updates on 2D arrays. Track rows, columns or layers so you do not overwrite values you still need.

#321
medium
blind75
matrix
#323
medium
blind75
matrix
#325
medium
blind75
matrix

Bit Manipulation

JavaScript bitwise operators work on 32-bit signed integers, so use >>> 0 when you need an unsigned result.

#327
easy
blind75
bit-manipulation
#329
easy
blind75
bit-manipulation
dynamic-programming
#331
easy
blind75
bit-manipulation
#333
easy
blind75
bit-manipulation
math
#335
medium
blind75
bit-manipulation

© 2025 FrontendChallenges. All rights reserved