Given two arrays of elements, return a new array containing all the elements in array two but not in array one
Anonimo
I used a hash map and made one pass of the elements in array one to hash and store these elements in my hash map. Then, I simply iterated through the elements in array two and checked if they were in the hash map. If they were not, then they were added to the result array which was to be returned