Troll Systems interview question

Find the maximum element of an array