I am new in programming and I need to write the pseudo code for the following question, please help me understand and write it:
The intersection of two bags is new bag containg the entries that occur in both of the original two bags.Design and specify a method intersection for ADT bag that returns as a new bag the intersection of the bag recieving the call to the method and the bag that is the method's one argument. Include sufficient comments to fully specify the method Note that the intersection of two bags might contain duplicate items.