By mitchp
via architects.dzone.com
Published: May 22 2012 / 09:52
To find the minimum value into an array of items itsn’t difficult. There are not many options to do that. The most natural approach is to take the first item and to compare its value against the values of all other elements. Once we find a smaller element we continue the comparisons with its value. Finally we find the minimum.
Add your comment
Voters For This Link (15)
-
stoimen -
aclarke -
egenesky -
ruben_cepeda -
rcastellow -
umarsh -
mannt8 -
xpertdev -
galaxyinsider -
threepipeproblem -
cfoley.myopenid.com -
ketandarji -
dinuka -
mswatcher -
gb67808