Computer ScienceGeneralQuality 91 · Exceptional
Big-O Notation: Why It Matters
PR
Vanessa NelsonTeacher Tier
@author · 2026-08-21 · v1
7 min read
Big-O describes how an algorithm's runtime grows with input size
, ignoring constants.
is constant;
grows slowly (binary search);
is linear;
is quadratic (nested loops). A
algorithm on 10,000 inputs runs about 100 million steps, while
runs about 130 thousand. Choosing a better complexity class often matters more than micro-optimizing.
0 teacher endorsements
Discussion
Comments support LaTeX — write inline with $...$.
Sign in to join the discussion.
No comments yet
Be the first to share your thoughts.
