Finding repeated elements (1982)

by J Misra, D Gries
Venue:Science of Computer Programming