In Time Tec interview question

Find the highest and lowest element in an array.