Find out if the array has repeated numbers in it. (make it more time efficient)
Sigiloso
Create a hash map for the array which maps every number to its frequency. If there exists an element with frequency > 1 => there is repetition! mapfrequency; // map