vimwiki/tech/quicksort.wiki

9 lines
206 B
Plaintext

= Quicksort =
Quicksort is a sorting algorithm that runs in `O(n log n)` time.
== Algorithm ==
For some array `arr`, chose come pivot value in `arr`. It does not matter how
this pivot, `pvt` is chosen.