Microsoft Interview Question

leetcode two sum..