Polynomial.Ai interview question

Find two sum (leetcode) . Find triplets whose sum is 0.