Back to marketplace

Big O

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

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

Card preview (24)

#1
Front (Question)

Complexity

Back (Answer)

how well the performance of an algorithm scales as the size of data sets increase.

#2
Front (Question)

time complexity

Back (Answer)

the number of steps/line of code executed in an algorithm.

#3
Front (Question)

space complexity

Back (Answer)

the memory requirement for an algorithm

#4
Front (Question)

efficiency

Back (Answer)

time complexity and space complexity

#5
Front (Question)

BigO

Back (Answer)

a complexity notation. remove all coefficiants and just write the value of n with the largest exponent e.g. O(n)

#6
Front (Question)

O(1)

Back (Answer)

constant complexity

#7
Front (Question)

constant complexity

Back (Answer)

An algorithm that always executes in the same time regardless of the size of the data set. Efficient with any data set.

#8
Front (Question)

O(log n)

Back (Answer)

Logarithmic Complexity

#9
Front (Question)

Logarithmic Complexity

Back (Answer)

An algorithm that halves the data set in each pass. Efficient with large data sets. Good algorithms.

#10
Front (Question)

O(n)

Back (Answer)

Linear Complexity

#11
Front (Question)

Linear Complexity

Back (Answer)

An algorithm whose performance is proportional to the size of the data set and declines as the data set grows. Fair algorithms.

#12
Front (Question)

O(n^a)

Back (Answer)

Polynomial complexity (quadratic, cubic etc)

#13
Front (Question)

Polynomial complexity (quadratic, cubic etc)

Back (Answer)

An algorithm whose performance is proportional to the square of the size of the data set. Significantly reduces efficiency with increasingly large data sets. Poor algorithms.

#14
Front (Question)

O(2^n)

Back (Answer)

Exponential Complexity

#15
Front (Question)

Exponential Complexity

Back (Answer)

An algorithm that doubles with each addition to the data set in each pass. Inefficient. Extremely poor algorithms that should be avoided.

#16
Front (Question)

O(n log N)

Back (Answer)

Algorithms that divide a data set but can be solved using concurrency on independent divided lists.

#17
Front (Question)

complexity order

Back (Answer)

O(1) -> O(logn) -> O(n) -> O(nlogN) -> O(n^2) -> O(2^n)

#18
Front (Question)

Linear search best

Back (Answer)

O(1)

#19
Front (Question)

linear search average

Back (Answer)

O(n)

#20
Front (Question)

linear search worst

Back (Answer)

O(n)

#21
Front (Question)

binary search best

Back (Answer)

O(1)

#22
Front (Question)

binary search average

Back (Answer)

O(logn)

#23
Front (Question)

binary search worst

Back (Answer)

O(logn)

#24
Front (Question)

Binary search tree best

Back (Answer)

O(1)