Compare two lists ignoring order and duplicates count to determine if they form the same multiset.
Constraints
Example
>>> same_multiset([1, 2, 3], [3, 1, 2]) True >>> same_multiset([1, 2, 2], [2, 1, 1]) False >>> same_multiset([], []) True
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints