Topic: Hashing Problem / Level: intermediate

Problem: Given an array, write a program to find the total number of distinct elements using a hash set.

Run the code to see the output here...