Comprehensive DSA Sheet
405 problems across 18 topics. Filter by difficulty, company, or search for specific problems. All problems link directly to LeetCode.
Arrays
36Array manipulation, sliding window, and prefix sums
Strings
30String manipulation, pattern matching, and parsing
Linked Lists
25Singly and doubly linked list operations
Stacks & Queues
25Stack and queue based problem solving
Trees
36Binary trees, BSTs, and tree traversals
Graphs
34Graph traversal, shortest paths, and connectivity
Heaps
15Priority queues and heap-based algorithms
Tries
10Prefix trees and string search structures
Dynamic Programming
54Optimal substructure and overlapping subproblems
Backtracking
20Exhaustive search with pruning
Greedy
20Locally optimal choices for global solutions
Binary Search
20Divide and conquer search on sorted data
Two Pointers
20Two pointer and sliding window techniques
Bit Manipulation
15Bitwise operations and binary representations
Math
15Mathematical algorithms and number theory
Design
15Data structure and system design problems
Sorting
15Sorting algorithms and order-based problems