LeetCode Topics

LeetCode topics for pattern-first interview prep

Open crawlable topic hubs for arrays, trees, graphs, dynamic programming, binary search, and other recurring interview patterns.

70 topic pages2,808 indexed problems
Topic model
Pattern family hubs
Best use
Narrow one interview pattern per session
Next step
Open a problem page and move into the solver
Topic summary and difficulty mix
Representative problem links
GhostInterview solver CTA
Topic directory

Start from a pattern, not a random title

Array

1,672 problems · Array scanning plus hash lookup

Easy 363Medium 876Hard 433
Open topic page
String

699 problems · State transition dynamic programming

Easy 212Medium 329Hard 158
Open topic page
Hash Table

610 problems · Array scanning plus hash lookup

Easy 155Medium 349Hard 106
Open topic page
Dynamic Programming

529 problems · State transition dynamic programming

Easy 12Medium 249Hard 268
Open topic page
Math

528 problems · Array plus Math

Easy 142Medium 243Hard 143
Open topic page
Sorting

400 problems · Array scanning plus hash lookup

Easy 81Medium 233Hard 86
Open topic page
Greedy

377 problems · Greedy choice plus invariant validation

Easy 45Medium 247Hard 85
Open topic page
Binary Search

265 problems · Binary search over the valid answer space

Easy 26Medium 135Hard 104
Open topic page
Depth-First Search

252 problems · Binary-tree traversal and state tracking

Easy 36Medium 148Hard 68
Open topic page
Matrix

221 problems · Array plus Matrix

Easy 37Medium 125Hard 59
Open topic page
Bit Manipulation

220 problems · State transition dynamic programming

Easy 45Medium 97Hard 78
Open topic page
Breadth-First Search

197 problems · Binary-tree traversal and state tracking

Easy 19Medium 122Hard 56
Open topic page
Tree

191 problems · Binary-tree traversal and state tracking

Easy 38Medium 105Hard 48
Open topic page
Prefix Sum

186 problems · Binary search over the valid answer space

Easy 19Medium 113Hard 54
Open topic page
Two Pointers

182 problems · Two-pointer scanning with invariant tracking

Easy 54Medium 104Hard 24
Open topic page
Simulation

171 problems · Array plus Simulation

Easy 75Medium 85Hard 11
Open topic page
Heap (Priority Queue)

169 problems · Array scanning plus hash lookup

Easy 15Medium 93Hard 61
Open topic page
Counting

149 problems · Array scanning plus hash lookup

Easy 56Medium 77Hard 16
Open topic page
Graph

141 problems · Graph traversal with depth-first search

Easy 3Medium 66Hard 72
Open topic page
Stack

140 problems · Stack-based state management

Easy 23Medium 75Hard 42
Open topic page
Sliding Window

133 problems · Sliding window with running state updates

Easy 18Medium 78Hard 37
Open topic page
Binary Tree

130 problems · Binary-tree traversal and state tracking

Easy 35Medium 85Hard 10
Open topic page
Enumeration

118 problems · Array scanning plus hash lookup

Easy 26Medium 58Hard 34
Open topic page
Design

94 problems · Array scanning plus hash lookup

Easy 10Medium 60Hard 24
Open topic page

Topic pages give the LeetCode cluster a cleaner structure for both users and crawlers. Instead of treating every problem as an isolated leaf, GhostInterview groups related questions under one pattern page so you can move from broad intent to narrow execution without losing context. That is better for study flow, better for internal linking, and better for search engines trying to understand the shape of the library.

Why Topic Pages Matter

The fastest way to improve coding interview performance is not to random-walk through unrelated problems. It is to repeat one pattern until the explanation becomes stable. Topic pages support that by collecting the questions that share a family resemblance: array scans, binary search, graph traversal, dynamic programming, and other pattern-heavy groups that show up repeatedly in live loops.

Pattern-first prep is easier to repeat

When you stay inside one topic, you are not starting from zero every time. You are practicing the same mental move with slightly different constraints, which is what makes the explanation sharper under pressure.

Topic hubs are better discovery layers

The broad LeetCode hub is still useful when you want to search by title or difficulty. Topic pages take the next step and tell crawlers and users which groups of problems belong together.

How To Use These Pages

Pick a topic that matches your current weak spot, open its hub, and then select two or three representative problems from that page. Once the pattern feels stable, open GhostInterview and rehearse the explanation flow as if the interviewer were already pushing on trade-offs and complexity.

Start with topics that show up often

If you are unsure where to begin, start with arrays, strings, binary search, graphs, trees, and dynamic programming. Those patterns cover a large share of common interview signal.

Keep each session narrow

One topic plus two or three problems is enough for a strong prep block. The point is to build transfer, not just consume more titles.

How GhostInterview Fits

Topic pages are the static discovery layer. Individual problem pages give you the exact breakdown. GhostInterview remains the live solver layer when you want answer paths, complexity framing, and follow-up support during a real coding interview workflow.

FAQ

What are these topic pages for?

They turn broad LeetCode patterns into crawlable hubs. Use them to stay inside one pattern family, compare representative problems, and move into a solver-first workflow faster.

How should I use a LeetCode topic page?

Start with one topic, scan the representative problems, and then open individual problem pages only after you know which pattern you want to reinforce.

Do these pages replace the main LeetCode hub?

No. The main hub is the broad discovery layer. Topic pages make the cluster more focused by grouping related interview questions under one pattern.

Will topic pages keep growing as more problems are generated?

Yes. They are derived from the problem index, so new problem pages automatically strengthen the matching topic hubs.

Why does this matter for live interviews?

Interview performance improves when you repeat one reasoning pattern across several related problems instead of jumping between unrelated questions.

Need direct help when the pattern is clear but execution is not?

Use GhostInterview as the solver layer after you choose the topic and the problem. The topic page narrows the family. The product helps you execute under pressure.