Finding min
Set first to lowest in list
repeat
if next in list<min
make min = next in list
found_at=counter
until end of list
write minimum
Finding Max
same as above but change min to max, and < into>
Counting Occurences
target = 'random'
counter = 0
repeat
if next in value = targer
then counter = counter + 1
until end of list
if counter = 0 write'not found' (<<<<<<<<<<<<<<<<<<<linear search up to here)
write counter
I think thats what you wanted

EDIT: just typed that for nothing, lol