Quick Sort Process
Quick Sort Runtime
Worst-case: θ(n²) - when all chosen pivots are the min/max
Average-case:
Average-Case & Amortized Analysis