Fiserv Interview Question

How do you find maximum element of an array given to you?