Pregunta de entrevista de Entelect

Optimise code to run effectively with fewer lines of code