Computer Science, asked by shezaahmed1300, 1 year ago

What would be the worst case time complexity of the insertion sort algorithm if the inputs are restricted to permutation of N with at most n inversions?

Answers

Answered by Anonymous
0
Insertion sort is stable, online but not suited well for large number of elements.

B

Insertion sort is unstable and online

C

Insertion sort is online and can be applied to more than 100 elements

D

Insertion sort is stable & online and can be applied to more than 

Similar questions