Frage im Vorstellungsgespräch bei Infosys

find the largest number in an array without using sort function?