It's a sorting algorithm that repeatedly selects two elements at random and swaps them if they are in the wrong order.
Join The Clean Code Studio Newsletter
It's a sorting algorithm that repeatedly selects two elements at random and swaps them if they are in the wrong order.