Brute Force Flashcards
1
Q
Selection Sort has a complexity of
A
n^2
2
Q
Selection sort stability status is
A
not stable
3
Q
Selection sort basically
A
get minimum element and place it on the beginning, one by one
4
Q
Bubble Sort has a complexity of
A
n^2
5
Q
Bubble sort stability status is
A
stable
6
Q
Bubble Sort basically
A
bubbles the biggest element to the top of the array in each swap