News for hackers. Stuff that matters.
Re:Bubble Sort: An Archaeological Algorithmic Analysis by kragen on Saturday February 09, 2019 @12:23AM (#19120930)
I just realized the dumbsort algorithm at the bottom has an error; it should read:

    for (int i = 1; i < n; i++)
        if (x[i-1] > x[i])
            swap(i-1, i), i = 0;

There are no comments on this comment yet.