Skip to content

Data Structures & Algorithms

A structured guide to DSA fundamentals — from recursion and complexity analysis through trees, graphs, and core problem-solving patterns.


Topics

TopicDescription
RecursionBase cases, call stacks, and thinking recursively
Time ComplexityBig-O, Big-Θ, Big-Ω — measuring algorithmic growth
ArraysContiguous memory, indexing, and common operations
Linked ListsSingly, doubly, and circular linked structures
Hash TablesHashing, collision resolution, and O(1) lookups
Binary Search TreesBST invariant, traversals, balancing
Priority Queues (Heap)Min/max heaps, heapify, and heap sort
TriesPrefix trees for string search and autocomplete
GraphsBFS, DFS, shortest paths, and topological sort
BacktrackingExhaustive search with pruning
Two PointersLinear-time solutions with left/right pointer pairs
Sliding WindowFixed and variable windows over sequences