

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Algorithm (arrayMax(A, n)) curMax = A[0]// for i=1 i<n i++ //n //1 or 2 if curMax < A[i] curMax = A[i] return curMax //