Pregunta de entrevista de Spotify

Questions on javascript, algorithms, execution context