Amazon Interview Question

2 sum on leetcode. find 2 numbers that sum to target