AlgoViz

Quick sort

medium 18 min

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.