Domanda di colloquio di Tata Consultancy Services

How to find maximum number in an array?