Searching the index of the minimum
This animation shows how to find the minimum and its index (mi) in an array. In the beginning, we
set the index of the minimum (mi) to 0. Next, we compare every other element in the array with the
element at the minimum index (mi). If we find a new minimum, we set the minimum index (mi) to the
place of the new minimum.
rate animations, add them among their favorites, and mark them as not working.