Informatica Interview Question

Find triplets in an array that sum to X