Oracle Interview Question

3 Sum question on leetcode