Oracle interview question

They asked to solve three-sum