ISRO Computer Science (CSE) 2020 - Question 18

All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2020

If the array A contains the items 10, 4, 7, 23, 67, 12 and 5 in that order, what will be the resultant array A after third pass of insertion sort?

  • A. 67, 12, 10, 5, 4, 7, 23
  • B. 4, 7, 10, 23, 67, 12, 5
  • C. 4, 5, 7, 67, 10, 12, 23
  • D. 10, 7, 4, 67, 23, 12, 5

Answer: B. 4, 7, 10, 23, 67, 12, 5

| | All questions of ISRO Computer Science (CSE) 2020