Given array:

private int[] counts = {74, 55, 34, 99, 22}

Trace selection sort from the video demo.
What does the array look like at the end of the for loop when lh = 2?

{22, 34, 55, 99, 74}
  • {74, 55, 34, 99, 22}
  • {22, 55, 34, 99, 74}
  • {74, 34, 55, 99, 22}

There are no hints for this question