A short exercise in which a duplicate needs to be found in an array.