Pregunta de entrevista de Microsoft

Two Sum, a pointers question and a systems design question