Section: STEM · Computer ScienceDifficulty: Medium

Big O Notation

USUK
US/bɪg oʊ noʊˈteɪʃən/UK/bɪg əʊ nəʊˈteɪʃən/

A mathematical notation describing the limiting behavior of an algorithm's resource usage.

Also: O notation · asymptotic notation

Definition

Big O notation is a mathematical framework used in computer science to describe the upper bound on an algorithm's time or space complexity as a function of input size, characterizing its worst-case behavior. Common complexities include O(1) constant, O(log n) logarithmic, O(n) linear, O(n log n), and O(n squared) quadratic. It allows comparison of algorithm efficiency independent of hardware or implementation details.

Example

“A linear search through an unsorted list of n items has O(n) time complexity because in the worst case every element must be checked, while a binary search on a sorted list takes O(log n), making it drastically faster for large datasets.”

Usage Examples

  1. 1

    “The team applied big o notation best practices to improve their computer science outcomes significantly.”

  2. 2

    “Understanding big o notation is essential for anyone building a career in STEM.”

When & How to Use

Use 'Big O Notation' when working in Computer Science contexts where big o notation is a mathematical framework used in computer science to describe the upper bound on an algorithm's time or space complexity as a function of input size, characterizing its worst-case behavior.

  • ▸Applying big o notation principles during a computer science project or initiative
  • ▸Explaining big o notation to a junior team member or stakeholder unfamiliar with STEM
  • ▸Evaluating options or proposals using big o notation as a decision-making criterion

Etymology & Origin

The term 'Big O Notation' derives from professional usage and entered STEM professional usage as the field formalised in the 20th century.

History & Evolution

The concept of big o notation has evolved alongside STEM. Early practitioners relied on informal methods; structured approaches emerged with the professionalisation of computer science in the mid-20th century. Today, big o notation is a standard part of STEM practice globally.

Synonyms

  • asymptotic notation
  • complexity notation
  • O notation

Images

CC-licensed · free to use
More on Wikimedia
Loading images…

Video

Dictionary Entry

Back to STEM