Amazon Interview Question

One of the technical questions was essentially the two sum leetcode problem.