what is multiset?pls tell difference with set
how to apply on this ques?
https://practice.geeksforgeeks.org/problems/k-anagrams-1/0/?track=hashing-interview
Group k anagram
Hi!
- Multi-sets are containers that store elements following a specific order, and where multiple elements can have equivalent values
- for this question use map container, sort the individual elements and create a hash map corresponding to the sorted elements (key), value denotes the number of occurrence of a element, then just print using this hashmap.
Hit like if you get it!
Cheers