CodeArray interview question

Largest element in an array