Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on FreeBSD replaces bubblesort with mergesort on SYSINTs, results in 100x speed. Parent comment
python version of the inner loop
max_ = arr[0] for j in range(1, i): y = arr[j] arr[j - 1] = min(max_, y) max_ = max(max_, y) arr[i - 1] = max_
There are no comments on this comment yet.
python version of the inner loop