Staples Interview Question

Two Sum Leet code problem.