Question d’entretien chez Planview

Design an algorithm to find first repeating value in an ordered collection