Big-Oh

Computational Complexity

Complexity Classes

The Computational Zoo is far more subtle and complex than I thought it was.

/projects/ccs/comp-complexity/
zoo.svg

Computational Zoo

It contains P, NP (+complete), EXP, NP-hard, CO-NP (+complete), PSPACE, BPP, BQP, EXPSPACE, 2-EXP, halting problem, decidable, etc!

Big Oh Notation

Big-Oh ( \(O\) ) gives an upper bound on how an algorithm’s resource consumption grows with input size \(n\).

Read more >

Sorting

Time Complexity Explainer

O(n^2) Searches

Insertion Sort

Selection Sort

etc

O(n log(n)) Searches

Merge Sort

O(n) Searches

Bucket Sort

To classify

Bubblesort

Bogosort