Hacker News new | ask | show | jobs
by pents90 1712 days ago
It’s not. The inner loop operates only from i+1 to n in exchange sort and the resulting swaps are very different.