Skip to content

Latest commit

 

History

History

min-max

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Minimum and maximum

Implementation

MINIMUM(A)
min = A[1]
for i = 2 to A.length
  if min > A[i]
    min = A[i]
return min