sorts Flashcards

1
Q

best y worst y estable: Bubble sort

A

n, n2, si

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

best y worst y estable: insertion sort

A

n, n2, si

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

best y worst y estable: selection sort

A

n2, n2, si

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

best y worst y estable: heap sort

A

nlogn, nlogn, no

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

best y worst y estable: quick sort

A

nlogn, n2, si

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

best y worst y estable: counting sort

A

n+k, n+k, no

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

best y worst y estable: radix sort

A

nk, nk, no

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

best y worst y estable: merge sort

A

nlogn, nlogn, no

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