Back to marketplace

Big O

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v3•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

What is O(1) complexity called?

Back (Answer)

Constant time complexity

#2
Front (Question)

Give an example of O(1) complexity.

Back (Answer)

Accessing an array element by index

#3
Front (Question)

What is O(log n) complexity called?

Back (Answer)

Logarithmic time complexity

#4
Front (Question)

Give an example of O(log n) complexity.

Back (Answer)

Binary search

#5
Front (Question)

What is O(n) complexity called?

Back (Answer)

Linear time complexity

#6
Front (Question)

Give an example of O(n) complexity.

Back (Answer)

Linear search through a list

#7
Front (Question)

What is O(n log n) complexity called?

Back (Answer)

Linearithmic time complexity

#8
Front (Question)

Give an example of O(n log n) complexity.

Back (Answer)

Merge sort or quick sort (average case)

#9
Front (Question)

What is O(n²) complexity called?

Back (Answer)

Quadratic (a type of polynomial) time complexity

#10
Front (Question)

Give an example of O(n²) complexity.

Back (Answer)

Bubble sort or insertion sort in the worst case

#11
Front (Question)

What is O(2ⁿ) complexity called?

Back (Answer)

Exponential time complexity

#12
Front (Question)

Give an example of O(2ⁿ) complexity.

Back (Answer)

Naive recursive Fibonacci algorithm

#13
Front (Question)

Which Big O graph is flat, unaffected by input size?

Back (Answer)

O(1) Constant

#14
Front (Question)

Which Big O graph rises slowly and flattens?

Back (Answer)

O(log n) Logarithmic

#15
Front (Question)

Which Big O graph is a straight diagonal line?

Back (Answer)

O(n) Linear

#16
Front (Question)

Which Big O graph is steeper than linear but less than quadratic?

Back (Answer)

O(n log n) Linearithmic

#17
Front (Question)

Which Big O graph curves steeply upwards as n increases?

Back (Answer)

O(n²) Quadratic

#18
Front (Question)

Which Big O graph shoots up almost vertically?

Back (Answer)

O(2ⁿ) Exponential

#19
Front (Question)

Linear search best case complexity?

Back (Answer)

O(1)

#20
Front (Question)

Linear search average case complexity?

Back (Answer)

O(n)

#21
Front (Question)

Linear search worst case complexity?

Back (Answer)

O(n)

#22
Front (Question)

Binary search best case complexity?

Back (Answer)

O(1)

#23
Front (Question)

Binary search average case complexity?

Back (Answer)

O(log n)

#24
Front (Question)

Binary search worst case complexity?

Back (Answer)

O(log n)