Pregunta de entrevista de F5

Mostly into the javascript, solution and design