Vidyalelo
Data Structure · Q234

Sorting Algorithms

Programming · Data Structure · question 234

Q234

Which of the following examples represent the worst case input for an insertion sort?

A.
array in sorted order
B.
array sorted in reverse order
Answer
C.
normal unsorted array
D.
large array

Answer: Option B

Solution

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