Meta interview question

three sum problem from the leetcode.