Vidyalelo
Data Structure · Q7

Sorting Algorithms

Programming · Data Structure · question 7

Q7

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.
Answer
D.
When the array has duplicate elements.

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board