Question d’entretien chez WebDirekt

Programming question:- There is an array given to you. Write code to print duplicate numbers.