Five9 interview question

givem array of objects, find object with the same value as input.