Aa

Text size

?

Map / Arrays / Check 2

⌨️ Write

Check: where is the smallest?

Write indexOfMin so it returns the position of the smallest value. When the smallest appears more than once, return the first position.

  • for
  • a[i]
  • <