For the following question, how will the array elements look after the second…

PYQ TCS NQT 2024

For the following question, how will the array elements look after the second pass of Insertion Sort?

34, 8, 64, 51, 32, 21

  1. A.

    8, 21, 32, 34, 51, 64

  2. B.

    8, 32, 34, 51, 64, 21

  3. C.

    8, 34, 51, 64, 32, 21

  4. D.

    8, 34, 64, 51, 32, 21

Attempted by 162 students.

Sign up free to check your answer

Sign up free

Explore the full course: Cdac C Cat Complete Preparation

Loading lesson…