<DS/>DS_VISUALIZER
FoundationsOOPArraysLinked ListStacksQueuesTreesGraphsHashingStrings
exploreExplore
homechevron_rightTopicschevron_rightFoundations
school

TOPIC

Foundations

Never programmed? Start here — watch a computer think, one line at a time.

Choose a category

smart_toyarrow_outward

Programming Basics

The glass machine: instructions, memory boxes and a console — nothing hidden.

timerarrow_outward

Time Complexity

Cost you can watch: every step drops a tile — see how the pile grows with n.

analyticsarrow_outward

Complexity Analysis

Time, space, and the three cases — formalise the cost of any algorithm.

functionsarrow_outward

Asymptotic Notation

O, Ω, Θ, o, ω — the five symbols that pin growth rates.

savingsarrow_outward

Amortized Analysis

Spread the cost: aggregate, accounting and potential methods.

calculatearrow_outward

Mathematical Foundations

Induction and recurrences — prove it works, solve the cost.