COM1009 Introduction to Algorithms and Data Structures (SPRING 2016~17) Flashcards

1
Q

Best case runtime insertionsort

A

n

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

Worst case runtime insertionsort

A

n^2

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

Best case runtime mergesort

A

nlogn

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

Worst case runtime mergesort

A

nlogn

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

Best case runtime quicksort

A

nlogn

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

Worst case runtime quicksort

A

n^2

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

Best case runtime selectionsort

A

n^2

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

Worst case runtime selectionsort

A

n^2

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