Problems

Original multi-part problems based on Blind 75, NeetCode 150, and Grind 75

170 showing
Accounts MergeJohnJohnMaryShare emailsJohnMary

Accounts Merge

Graphs · Arrays & Hashingmedium
510-5510

Asteroid Collision

Stack · Arrays & Hashingmedium
3 blocks

IP to CIDR

Bit Manipulation · Math & Geometrymedium
998562826Max = 9

Largest Local Values in a Matrix

Arrays & Hashing · Simulationeasy
1011+11100

Add Binary

String · Bit Manipulationeasy
243564+708

Add Two Numbers

Linked List · Math & Geometrymedium
Alien Dictionarywrtwrferwer

Alien Dictionary

Graphs · Stringhard
3920157Balanced ✓

Balanced Binary Tree

Trees · BFS / DFSeasy
3920157L0L1L2

Binary Tree Level Order Traversal

Trees · BFS / DFSmedium
12354

Binary Tree Right Side View

Trees · BFS / DFSmedium
-10920157

Binary Tree Maximum Path Sum

Trees · Dynamic Programminghard
(1+(4+5+2)-3)Stack= 9

Basic Calculator

Stack · Stringhard
$7$1$5$3$6$4BUYSELL

Best Time to Buy and Sell Stock

Arrays & Hashing · Sliding Windoweasy
12302↑ BUY↓ SELL⏸ COOL

Stock Trading with Cooldown

Dynamic Programming · Arrays & Hashingmedium
0102030R0R12

Meeting Rooms II

Intervals · Heap / Priority Queuemedium
0123450123453

Number of Connected Components in an Undirected Graph

Graphs · BFS / DFSmedium
12342

Network Delay Time

Graphs · Heap / Priority Queuemedium
0213StartEndt = 3

Swim in Rising Water

Graphs · Heap / Priority Queuehard
JFKSFOATLMUCLHRValid ✓

Reconstruct Itinerary

Graphs · BFS / DFShard
01234Min Cost:44

Min Cost to Connect All Points

Graphs · Heap / Priority Queuemedium
01234Valid Tree ✓

Graph Valid Tree

Graphs · BFS / DFSmedium
129+1130

Plus One

Math & Geometry · Arrays & Hashingeasy
123× 455535?

Multiply Strings

Math & Geometry · Stringmedium
2101024

Pow(x, n)

Math & Geometrymedium