Intersection of two arrays using hashing

https://ide.codingblocks.com/s/46617
the code is not working properly pls debug it

https://ide.codingblocks.com/s/46624

I have made the required changes.