first you learn quicksort and mergesort, then you go back and learn insertion sort and selection sort. then, you learn heap sort.

and you never learn bubble sort.

this is the "machete order" for sorting algorithms.

Follow

@typeswitch
Primality tests:
* Fermat Primality test, then
* Sieve Eratosthenes
* Pocklington's test, then
* the AKS test

Sign in to participate in the conversation
Mastodon

a Schelling point for those who seek one