Computer Science, asked by ronalddelevelz, 3 months ago

Algorithms perform differently on different data sets and as such we may be interested in either their Best-case, Worst-case or Average-case scenarios. Explain why the Worst-case for an insertion sort is with reverse-sorted data.

Answers

Answered by sufiyanansari6286
1

Answer:

your answer is here

Explanation:

Quicksort is usually faster than most sorts

Quicksort is usually faster than sorts that are slower than O(nlogn) (say, Insertion sort with its O(n2) running time), simply because for large n their running times explode.

Similar questions