Quick sort
medium 18 minQuick sort picks a pivot, partitions the array so smaller values sit to its left and larger values to its right, and then sorts each side the same way.
Quick sort picks a pivot, partitions the array so smaller values sit to its left and larger values to its right, and then sorts each side the same way.