Aa

Text size

?

Map / ArrayList & Data / 10

✏️ Fill in

Selection sort

Each pass finds the smallest remaining value and swaps it into place. Fill the blanks so the program prints [10, 13, 14, 29, 37].

  • selection sort
  • nested for
  • swap