Cheatsheets
5 dense reference pages for revision and interviews. Each one prints cleanly on a few pages, works without JavaScript, and links back to the lessons, visualizers and collection pages that explain the details. The collections sheet is built from the same tested data as the collection encyclopedia.
Big O and the cost of common operations
Growth classes from O(1) to O(n!), rough input-size limits, and what core operations cost on arrays, lists, hash tables, trees and heaps.
Notation · Growth classes · Counting rules · Operations on common structures · Space
v1 · updated 2026-11-24
Collections across C#, Python, Java and C++
Equivalent built-in collections in four languages and what each common operation costs, taken from the tested collection encyclopedia.
Equivalents · Dynamic array · Hash map · Hash set · Queue / deque · Priority queue · Reading the tables
v1 · updated 2026-11-24
Sorting algorithms
Best, average and worst time, extra space, stability and in-place behaviour of common sorts, and what each language’s built-in sort actually runs.
Comparison sorts · Non-comparison sorts · What the built-in sort actually is · Choosing
v1 · updated 2026-11-24
Pattern recognition
Signals in a problem statement, the technique they usually point to, its typical cost, and a solved problem that shows it.
Arrays and strings · Stacks, heaps and searching · Graphs and search spaces · Reading the constraints
v1 · updated 2026-11-24
Language gotchas for DSA
Overflow, division, Unicode, heap orientation, hashing contracts and iterator invalidation: where C#, Python, Java and C++ differ in DSA code.
Integers and arithmetic · Strings and Unicode · Heap orientation · Equality and hashing contracts · Iterator invalidation and modification during iteration · More traps
v1 · updated 2026-11-24