This visualization shows an Introsort implementation - a hybrid sorting algorithm
that combines:
- Pattern Detection: Detects already sorted/reversed arrays in O(n)
- Quicksort with 3-way partitioning (Dutch National Flag) for handling duplicates
- Tukey's Ninther for robust pivot selection
- Insertion Sort for small subarrays (β€16 elements)
- Heapsort Fallback when recursion depth exceeds 2Γlogβ(n)