Question d’entretien chez RapiPay Fintech

how would you find the maximum element in an array