Search the documentation

Type to search. Use ↑ and ↓ to move, Enter to open.

Algorithmic complexity

Big-O analysis of running time and memory, such as O(n^2) against O(n log n) sorting.

1
projects
1
run in the browser
Defining formula
f(n)=O(g(n))  ⟺  ∃ c,n0: f(n)≤c g(n)  ∀n≥n0f(n) = O\bigl(g(n)\bigr) \iff \exists\, c, n_0 :\ f(n) \le c\, g(n)\ \ \forall n \ge n_0

Big-O: growth of the cost as the input gets large, up to a constant factor.

On this page

Projects that use it

Neighbourhood in the knowledge graph

Algorithmic complexityLogic, discrete mathematics and algorithmsSorting Algorithms VisualizationNumber Theory ExplorerSorting algorithms
ProjectsConceptsDomainsShow in graph →