Welcome guest!

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.

Average rating:   –
Please REGISTER or LOG IN, it's totally free! Registered users can
rate animations, add them among their favorites, and mark them as not working.

Category:Fundamentals 2

Technology:Javascript animation

Programming language:Pseudocode

Interactivity:Medium

Please REGISTER or LOG IN, it's totally free! Only registered users can write reviews!