Question:

Consider a list of elements 8, 7, 3, 4, 1, 9 and perform the insertion sort in ascending order. Which of the following intermediate list occur during sorting.
(A) 7, 8, 3, 4, 1, 9
(B) 7, 3, 8, 4, 1, 9
(C) 3, 4, 7, 8, 1, 9
(D) 7, 3, 4, 8, 1, 9
(E) 1,7, 3, 4, 8, 9
Choose the correct answer from the options given below:
 

Updated On: Apr 19, 2024
  • (A) only
  • (A), (D) and (E) only
  • (B), (C) and (D) only
  • (A), (B) and (C) only
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

The correct option is(D): (A), (B) and (C) only
Was this answer helpful?
0
0