6 ms·
It’s not. The inner loop operates only from i+1 to n in exchange sort and the resulting swaps are very different.
by pents90 5y ago
It’s not. The inner loop operates only from i+1 to n in exchange sort and the resulting swaps are very different.