Question d’entretien chez Allegion

asked to write simple programming puzzles like finding duplicate numbers in the given array