Pregunta de entrevista de WSC Sports

Given an array, return all triplets that equal zero without duplicities