csnotes/370/notes/sorts.md
Medium Fries ea2aa8d2a6 yote
2019-03-15 01:26:26 -07:00

376 B

Cheatsheet for sorts

using pythonic terminology for these cases

Bubble * take the largest value and buble it to the top/front of the list

Insertion

Selection * take smallest value and drop it to the front

Merge * split the hell out of things and sort from the inside out * goes from side to side

Heap * grab max item and append it to a heap

Quick