Pulsars
0 %
Log inSign up

Comparing bubble and merge

Open answer

On an array of 10,000 already nearly-sorted elements, which algorithm would you choose between improved bubble sort (with a stop flag) and merge sort? Justify your answer in terms of complexity AND memory used.