LeetCode Topics: 60 Tags With Python Solutions
These are LeetCode's own topic tags, carried through unchanged from the 3,000 problems in this library. A tag says what a problem is ABOUT — an array, a trie, a shortest path — and deliberately not how it is solved: measured against this dataset, 23 of the 36 tags that appear first on a problem cover more than one solution technique. If you want the technique, start from the pattern hubs instead.
60 of the 75 tags in the dataset have at least 8 problems and get a page. The rest are too small to be worth a page of their own — they still appear on every problem that carries them.
- Array1,569
- String672
- Hash Table588
- Math485
- Dynamic Programming481
- Sorting392
- Greedy346
- Depth-First Search289
- Binary Search253
- Database249
- Tree225
- Breadth-First Search223
- Matrix216
- Two Pointers201
- Bit Manipulation194
- Binary Tree174
- Heap (Priority Queue)163
- Prefix Sum157
- Stack157
- Simulation144
- Graph138
- Counting126
- Design122
- Sliding Window116
- Backtracking105
- Union Find83
- Enumeration80
- Linked List75
- JavaScript67
- Monotonic Stack58
- Ordered Set57
- Number Theory54
- Trie49
- Divide and Conquer47
- Recursion45
- Bitmask43
- Queue43
- Segment Tree41
- Binary Search Tree40
- Memoization39
- Geometry33
- Binary Indexed Tree32
- Combinatorics32
- Topological Sort32
- Shortest Path27
- Game Theory25
- Hash Function25
- Data Stream21
- Interactive21
- String Matching20
- Rolling Hash18
- Monotonic Queue17
- Brainteaser16
- Pandas15
- Randomized12
- Merge Sort11
- Doubly-Linked List10
- Concurrency9
- Iterator9
- Counting Sort8
Keep exploring
Stuck on the one you get asked
Stealth Interview is a desktop app for macOS and Windows. It reads the coding problem off your screen, returns a working solution with a step-by-step explanation and its time and space complexity, and transcribes what the interviewer is saying — while staying invisible to screen sharing.