Brute Force Flashcards

1
Q

Selection Sort has a complexity of

A

n^2

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

Selection sort stability status is

A

not stable

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

Selection sort basically

A

get minimum element and place it on the beginning, one by one

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

Bubble Sort has a complexity of

A

n^2

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

Bubble sort stability status is

A

stable

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

Bubble Sort basically

A

bubbles the biggest element to the top of the array in each swap

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