Multiset Implementation#
Implement a multiset data structure using a Python object. A multiset is a set that may contain multiple entries of the same value.
The code needs to be able to complete several operations.
Add value to the set.
Remove value from the set.
Query the length of the set.
Check for the presence of a value in the set.
This module implements a Multiset data structure.