Amazon Interview Question

They asked leetcode problem Three sum