union of 2 array in cpp code example
Example: can we calculate the intersection of duplicate ele
from collections import Counter
c = list((Counter(a) & Counter(b)).elements())
from collections import Counter
c = list((Counter(a) & Counter(b)).elements())