Vidyalelo
Data Structure · Q325

Sorting Algorithms

Programming · Data Structure · question 325

Q325

Shell sort is applied on the elements 27 59 49 37 15 90 81 39 and the chosen decreasing sequence of increments is (5,3,1). The result after the first iteration will be

A.
27 59 49 37 15 90 81 39
B.
27 59 37 49 15 90 81 39
C.
27 59 39 37 15 90 81 49
Answer
D.
15 59 49 37 27 90 81 39

Answer: Option C

Solution

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