Five9 Interview Question

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