1800+ Problems Solved
đŸ”ĸ

Data Structures & Algorithms

Comprehensive DSA guide for coding interviews - from fundamentals to advanced topics with detailed explanations and 830+ problems.

41
Topics
830+
Problems
139
GitHub Stars
View on GitHub Star Repository

📚 All 41 Topics

Complete DSA curriculum from basics to competition level

đŸŸĸ Foundation (Week 1-4)

01

Arrays Easy

Basic operations, subarray problems, prefix sum, matrix, intervals

02

Strings Easy

Basic string, anagrams, palindromes, subsequences

03

Linked Lists Easy

Basic operations, reversal, merge sort, cycle detection

04

Stacks Easy

Basic stack, parentheses, monotonic stack, expression evaluation

05

Queues Easy

Basic queue, deque, priority queue, sliding window

06

Hash Tables Easy

Hash maps, collision handling, frequency counting

🟡 Core Data Structures (Week 5-8)

07

Trees Medium

Binary trees, traversals, tree construction, path problems

08

Binary Search Trees Medium

BST operations, balancing, AVL, Red-Black trees

09

Heaps Medium

Min/Max heap, heapify, priority queue, top-K problems

10

Graphs Medium

BFS, DFS, representations, connected components

11

Tries Medium

Prefix trees, autocomplete, word search

12

Segment Trees Hard

Range queries, lazy propagation, point updates

13

Union Find Medium

Disjoint sets, path compression, union by rank

⚡ Core Algorithms (Week 9-12)

14

Sorting Easy

Comparison sorts, non-comparison sorts, custom sorting

15

Searching Easy

Binary search, ternary search, search patterns

16

Recursion Medium

Base cases, recursive thinking, tail recursion

17

Backtracking Medium

Permutations, combinations, N-Queens, Sudoku

18

Dynamic Programming Hard

1D, 2D, knapsack, LCS, LIS, matrix chain

19

Greedy Algorithms Medium

Activity selection, Huffman, interval scheduling

20

Divide & Conquer Medium

Merge sort, quick select, closest pair

đŸŽ¯ Problem-Solving Techniques

21

Bit Manipulation Medium

Bitwise operations, XOR tricks, bit masking

22

Two Pointers Easy

Opposite direction, same direction, fast-slow

23

Sliding Window Medium

Fixed window, variable window, with hash map

24

Graph Algorithms Hard

Dijkstra, Bellman-Ford, Floyd-Warshall, MST

25

Tree Algorithms Medium

LCA, tree DP, diameter, centroid decomposition

26

Sweep Line Hard

Event processing, interval problems, skyline

🔴 Advanced Data Structures

27

Advanced Trees Hard

Fenwick tree, 2D segment tree, treap

28

String Algorithms Hard

KMP, Z-algorithm, suffix array, Rabin-Karp

29

Computational Geometry Hard

Convex hull, line intersection, polygon area

37

Interval Trees Medium

Interval scheduling, range updates, overlapping

📐 Mathematics & Theory

30

Number Theory Hard

GCD, prime sieve, modular arithmetic, Euler's totient

31

Combinatorics Hard

Counting, generating functions, inclusion-exclusion

32

Game Theory Hard

Nim, Sprague-Grundy, minimax, alpha-beta

33

Matrix Exponentiation Hard

Fast Fibonacci, linear recurrence, graph paths

⭐ Competition Level

34

Sqrt Decomposition Hard

Mo's algorithm, block decomposition

35

Persistent DS Hard

Persistent segment tree, versioning

36

Randomized Algorithms Medium

Reservoir sampling, skip lists, hashing

38

Online Algorithms Hard

LRU cache, streaming algorithms

39

Approximation Hard

Set cover, TSP approximation, vertex cover

40

DP Optimizations Hard

Convex hull trick, divide & conquer DP, Knuth

41

Loop Fusion & Online Hard

Welford, Kadane, recurrence relations

đŸ—ēī¸ Learning Roadmap

                              đŸŽ¯ DSA MASTERY PATH đŸŽ¯

    +-----------------------------------------------------------------+
    |                                                                 |
    |   WEEK 1-4          WEEK 5-8          WEEK 9-12        WEEK 13+ |
    |   ---------         ---------         ---------        -------- |
    |                                                                 |
    |   đŸ“Ļ Arrays         🌲 Trees          🧮 DP            🔴 Adv.   |
    |   📝 Strings        📊 Graphs         â†Šī¸ Backtrack     📐 Math   |
    |   🔗 Lists          đŸ”ī¸ Heaps          🔍 Binary        ⭐ Comp.  |
    |   #ī¸âƒŖ Hash Maps     🔀 Union-Find       Search                   |
    |                                                                 |
    |   ------------------------------------------------------------ |
    |   đŸŸĸ FOUNDATION     🟡 INTERMEDIATE   🔴 ADVANCED      ⭐ EXPERT |
    |                                                                 |
    +-----------------------------------------------------------------+