Pregunta de entrevista de Restroworks

Q: Find a number from a array whose sum of digits is maximum.