Pregunta de entrevista de Cloudera

How would you find three numbers that add to a sum in an array?