2215 Find the Difference of Two Arrays
Techniques Used
Hashing
Approach
Initialize two hashsets, and add respective elements from both the arrays to their own sets.
We did the above so that we can easily find the existence of a certain number in each of the sets easily.
Loop over the n...
raahulsaxena.hashnode.dev2 min read