How to check using both arrays

I am doing using hashing but if the element is present 2 times in first array and 3 times in second array then also my program is displaying that number as output which is wrong

hello @arti07411
no that is not wrong,
such number should also be there in ur output.
if a number is present 2 times in first array and 3 times in second array then it should come twice in ur output.

yes but my output is showing it thrice not twice

please save ur code here -> https://ide.codingblocks.com/
and share the link with me.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

i m unable to post more doubts . why is this so?

please contact support team regarding this issue
email-> [email protected]