FactSet Interview Question

An array is given. Find all the pythogorian triplets.