Pergunta de entrevista da empresa Google

Given an array of structs: write a function that finds equal values in all the structs in the array