Domanda di colloquio di WebDirekt

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