Big-O

/bɪɡ oʊ/ · Noun · Development

Definitions

  1. Big-O notation is a mathematical notation that describes the upper bound of an algorithm's time or space complexity as the input size grows, abstracting away constants and lower-order terms to characterize scalability.

    In plain English: A shorthand for describing how much slower a program gets as you give it more data — O(n) means twice the data takes roughly twice as long.

    Example: "Binary search is O(log n), which is why it finds an item in a billion-element array in about 30 steps."

Related Terms