Chapter 03 — O Yes! Big O Notation

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/12

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:02 PM on 8/28/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

13 Terms

1
New cards
Big O notation
A way to describe how algorithm steps grow as input size grows
2
New cards
N
The input size or number of data elements
3
New cards
O(1)
Constant time; steps do not grow with N
4
New cards
O(N)
Linear time; steps grow directly with N
5
New cards
O(log N)
Logarithmic time; the problem is repeatedly cut in half
6
New cards
O(N²)
Quadratic time; often caused by nested loops
7
New cards
Worst case
The maximum number of steps an algorithm may take
8
New cards
Best case
The fewest number of steps an algorithm may take
9
New cards
Linear search best case
O(1), if the target is first
10
New cards
Linear search worst case
O(N), if the target is last or missing
11
New cards
Binary search Big O
O(log N), because each step removes half the data
12
New cards
Big O focus
Growth rate, not exact seconds
13
New cards
OA speed order
O(1) is faster than O(log N), which is faster than O(N), which is faster than O(N²