Pregunta de entrevista de Continental

Review code and suggest improvements to implementation