Pregunta de entrevista de Microsoft

Some questions with SQL, Javascript and data structures.