Computing the Max

Another simple calculation is that of finding the largest element in a list.

This is an obvious tex2html_wrap_inline304 operation... in fact, the total number of comparisons is just n-1.

algorithm58


next up previous
Next: Computing Max and Min Up: EXTREMALS Previous: EXTREMALS