Meta interview question

3Sum variation leetcode style question