Informatica interview question

Find triplets in an array that sum to X