Spotify interview question

Variation of Three Sum @ Leetcode