Rakuten Ready Interview Question

Given an integer array, find all triplets whose sum equal to zero.