3 ms·
Looks just like a slightly smarter insertion sorter, which is a slightly smarter exchange sorter, which is a slightly smarter bubble sorter. I don't see what's
by daneel_w 5y ago
Looks just like a slightly smarter insertion sorter, which is a slightly smarter exchange sorter, which is a slightly smarter bubble sorter. I don't see what's surprising about the approach.