indexOfMin
Find the index of the minimal element of an array.
Return
the index of the first minimal element in the array.
Parameters
arr
an array of any Comparable type.
Find the index of the minimal element of an array.
the index of the first minimal element in the array.
an array of any Comparable type.