48.6k views
2 votes
Is there an object that belongs to more than one group? Which one?​

User Moonkotte
by
6.2k points

1 Answer

3 votes

Answer:

Explanation:

By its very nature, a set can not have duplicate components. Multiset or Bag is the appropriate structure to allow duplicate elements: ... For example, {a, a, b} and {a, b} are different multisets even though they are the same set. But, order doesn't matter, because {a, a, b} and {a, b, a} are the same multiset.

Hope this helped !!!

User Elliot Blackburn
by
5.9k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.