Vidyalelo
Data Structure · Q129

Sorting Algorithms

Programming · Data Structure · question 129

Q129

For the following question, how will the array elements look like after second pass? 34, 8, 64, 51, 32, 21

A.
8, 21, 32, 34, 51, 64
B.
8, 32, 34, 51, 64, 21
C.
8, 34, 51, 64, 32, 21
D.
8, 34, 64, 51, 32, 21
Answer

Answer: Option D

Solution

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