Topic: Language Problem / Level: intermediate

Problem: Write a program to find the first duplicate element in an array using a function.

Run the code to see the output here...