Examveda

What is the running time of an insertion sort algorithm if the input is pre-sorted?

A. O(N2)

B. O(N log N)

C. O(N)

D. O(M log N)

Answer: Option C


This Question Belongs to Data Structure >> Sorting Algorithms

Join The Discussion

Related Questions on Sorting Algorithms