Re:Is this the simplest (and most surprising) sorting algori...
by SketchySeaBeast on Tuesday October 05, 2021 @09:39AM
(#28759304)
At first it's entirely un-intuitive and obviously slow, but I kind of like the elegance, and the use of "<" makes sense once you realize that the final sweep will be with an i at the end of the array so that j will be ahead of it.
[ Parent
| on HN ]
There are no comments on this comment yet.