Master Data Structures & Algorithms with 28 visual, step-by-step tutorials. From arrays to dynamic programming — build the foundation for technical interviews and real-world engineering.
Follow a structured path or jump to any topic. Each path builds on the previous one.
Contiguous memory, indexing, two-pointer technique, sliding window patterns.
Singly, doubly linked lists, fast/slow pointers, cycle detection, reversal.
LIFO/FIFO, monotonic stacks, BFS queues, expression evaluation.
Hash functions, collision handling, frequency counting, two-sum patterns.
Big-O notation, time/space complexity, amortized analysis, best/worst/average case.
Binary trees, BST, traversals (inorder, preorder, postorder), recursion on trees.
AVL, Red-Black trees, B-trees, segment trees, Fenwick trees.
Min/max heaps, priority queues, heap sort, top-K problems, median finding.
Prefix trees, autocomplete, word search, compressed tries.
Representations, BFS, DFS, connected components, bipartite checking.
Dijkstra, Bellman-Ford, Floyd-Warshall, MST (Kruskal, Prim).
DAGs, Kahn's algorithm, course scheduling, build order dependencies.
Max flow, min cut, Ford-Fulkerson, bipartite matching.
Disjoint sets, path compression, union by rank, connected components.
Bubble, merge, quick, heap, radix sort with visual comparisons.
Binary search, search variations, rotated arrays, search in matrix.
Base cases, recursive thinking, backtracking, memoization.
Merge sort, quickselect, closest pair, matrix multiplication.
Activity selection, Huffman coding, fractional knapsack, interval scheduling.
Memoization, tabulation, LCS, knapsack, coin change, edit distance.
Bitwise operators, bit tricks, single number, power of two.
KMP, Rabin-Karp, Boyer-Moore, regular expressions.
Suffix arrays, palindromes, string hashing, Z-algorithm.
Matrix traversal, rotation, spiral order, search in 2D matrix.
Merge intervals, insert interval, meeting rooms, calendar conflicts.
Convex hull, line intersection, closest pair, sweep line.
GCD, primes, modular arithmetic, combinatorics, number theory.
LRU Cache, Min Stack, Iterator design, data structure design.
How algorithm performance scales with input size. Hover to compare.