A comparison-based sorting algorithm that sorts an array by comparing and swapping adjacent elements in an alternating pattern.
Join The Clean Code Studio Newsletter
A comparison-based sorting algorithm that sorts an array by comparing and swapping adjacent elements in an alternating pattern.