...

/

Challenge: Find Duplicates in an Array with No Repetition

Challenge: Find Duplicates in an Array with No Repetition

Solve the challenge of efficiently finding duplicates in an array that initially has no repetitions.

Problem statement

Given an array of integers, find all the duplicates that exist in that array.

Input

An array of duplicate integers.

...