Big O Notation Space Complexity Flashcards

1
Q

Insertion sort

A

O(1)

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

Selection sort

A

O(1)

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

Smooth sort

A

O(1)

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

Bubble sort

A

O(1)

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

Shell sort

A

O(1)

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

Mergesort

A

O(n)

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

Quicksort

A

O(logn)

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

Heapsort

A

O(1)

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