Sorting Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Bubble Sort

Define

A

Starts at the first data point, if the one after it is greater, swap, then move on all the way through this list, repeat this sort until the data is sorted and no swaps are made

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

Merge Sort

Define

A

Breaks the list down by halfing the list into two, then halfing them again and again until it reaches one piece of data per list, it then combines the pieces one by one in a sorted form.

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