Prep Library
Back to Prep Library

Prep Library

Algorithms & Data Structures

The data structures and algorithm families every technical interview assumes you know cold — each with intuition, complexity, and a reference implementation.

Data structures

Overview

Data structures are the containers that determine how efficiently you can store, find, and update data. This group covers the essential building blocks — from linear arrays and lists to hierarchical trees, heaps, and specialized structures like tries and union-find — along with the time/space tradeoffs that dictate when to reach for each.

Algorithm families

Overview

Algorithm families are the standard problem-solving strategies you compose over data structures: sorting, searching, graph traversal, shortest paths, dynamic programming, greedy, backtracking, and bit tricks. Knowing each family's guarantees and complexity lets you pick the right tool and justify it.

Where this content comes from

For full transparency, this library's content is curated and verified from these sources:

CLRS — Introduction to AlgorithmsCurated competitive-programming archivesOppZen-authored algorithm guides