TikTok interview question

How do you solve 3-sum - leetcode question.