Meta Interview Question

three sum problem from the leetcode.