3 ms·
Is it exchange sort? https://mathbits.com/MathBits/CompSci/Arrays/Exchange.htm https://mathbits.com/MathBits/CompSci/Arrays/Exchange.htm
by fbn79 5y ago
Is it exchange sort? https://mathbits.com/MathBits/CompSci/Arrays/Exchange.htm https://mathbits.com/MathBits/CompSci/Arrays/Exchange.htm
- pents90 5y agoIt’s not. The inner loop operates only from i+1 to n in exchange sort and the resulting swaps are very different.