I'm trying to create a union of two sets with no duplications. Array a contains n distinct integers. Array b contains m distinct integers. I want to find out the number of elements in the union before I place elements into the union array, so that I can allocate memory. Anyway, I want to count...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.