Google Interview Question

They asked the leetcode question three sum