Examveda

In which scenario does Insertion Sort perform best?

A. When the array is in random order.

B. When the array is sorted in reverse order.

C. When the array is already sorted or nearly sorted.

D. When the array has duplicate elements.

Answer: Option C


This Question Belongs to Data Structure >> Sorting Algorithms

Join The Discussion

Related Questions on Sorting Algorithms