Pergunta de entrevista da empresa SS&C

If you have to find a maximum value from array without using built-in function how can you do?