Topic: Hashing Problem / Level: intermediate

Problem: Write a function to find the first duplicate number in an array using hashing.

Run the code to see the output here...