Question d’entretien chez Google

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