Week 4 - Complexity Flashcards

1
Q

O(1)

A

Constant complexity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

O(logn)

A

Logarithmic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

O(n)

A

Linear

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

O(nlogn)

A

Log Linear

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

O(n^2)

A

Quadratic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

O(n^3)

A

Cubic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

O(2^n)

A

Exponential

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the faster growing Big O?

A

Exponential

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the slowest growing Big O?

A

Logarithmic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which Big O grows quicker, log linear or linear?

A

log linear

How well did you know this?
1
Not at all
2
3
4
5
Perfectly