Amazon interview question

Leetcode 3 sum question, almost exactly