next up previous
Next: Up: Previous:

Analysis

O(1) FastMax, but \(\Theta(n^2)\) work

EREW PRAM, O(lg n) Again, the number of elements that know they are not max at most doubles each iteration.

Serial: \(\Theta(n)\)


next up previous
Next: Up: Previous: