Apisero Interview Question

how do you find the maximum element in array?