Arrays-Intersection of two arrays(hashing challenges)

codeLink:https://ide.codingblocks.com/s/186194
I don’t understand why my multiset is not storing duplicate values , so please correct it and specify my error