Google Interview Question

Two Sum leet code problem