Sollicitatievraag bij Uber

Three Sum question from leetcode was asked