Pregunta de entrevista de AT&T

Most of the questions were in JavaScript.