<DS/>DS_VISUALIZER
FoundationsOOPArraysLinked ListStacksQueuesTreesGraphsHashingStrings
exploreExplore
homechevron_rightTopicschevron_rightFoundationschevron_rightAsymptotic Analysis
functions

FOUNDATIONS · ASYMPTOTIC

Asymptotic Notation

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

Choose a lesson

vertical_align_toparrow_outward

Big-O (upper bound)

Ceiling: f ≤ c·g beyond n₀.

O(n)—
vertical_align_bottomarrow_outward

Big-Ω (lower bound)

Floor: f ≥ c·g beyond n₀.

Ω(n)—
vertical_align_centerarrow_outward

Big-Θ (tight bound)

Sandwich: O and Ω of the same g.

Θ(n)—
keyboard_double_arrow_downarrow_outward

little-o (strict upper)

STRICTLY slower — f/g → 0.

o(n²)—
keyboard_double_arrow_uparrow_outward

little-ω (strict lower)

STRICTLY faster — f/g → ∞.

ω(n)—