Home / Engineering / Data Structure (DS) / Question

M

Mr. Dubey • 51.43K Points
Coach

Q.) 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
(D) 15 59 49 37 27 90 81 39
Correct answer : Option (C) - 27 59 39 37 15 90 81 49

Share

Discusssion

Login to discuss.