Pergunta de entrevista da empresa Meta

Question 2: Three sum problem. Given an array of numbers, write a function to find groups of all three numbers such that their sum is 0. The numbers can be repeated.