Microsoft Interview Question

Two Sum, a pointers question and a systems design question