Pergunta de entrevista da empresa AT&T

Most of the questions were in JavaScript.