Pregunta de entrevista de Prateek Group

DSA array easy question about finding max element?