2 ms·
Depends on your sort algorithm. For some algorithms, they perform worse on an array that is already sorted. Check your local copy of Knuth, volume 3.
by bradknowles 7y ago
Depends on your sort algorithm. For some algorithms, they perform worse on an array that is already sorted.
Check your local copy of Knuth, volume 3.