Google Interview Question

Leetcode's two sum problem. Easy.