➜ ~

Playing Hacks and Stuffs!


Project maintained by h4ckyou Hosted on GitHub Pages — Theme by mattgraham

Find the Duplicate Number

image

Here I just found the occurrence of each numbers in the array and return the key whose value is greater than or equal to 2

Here’s my solve script: link image