A sorting algorithm where every other element is swapped with the previous element, then every 3rd element is swapped with the previous element, then every 4th element is swapped with the previous element, and ao on, until only the last element is swapped.
by ethymology101 December 27, 2022
by Mpl909 June 16, 2022