C++ frequency map
The solution is simple.\nFirst calculate frequency of all the alphabets present in all the strings of the given vector\nNow to make all the strings equal every 
The solution is simple.\nFirst calculate frequency of all the alphabets present in all the strings of the given vector\nNow to make all the strings equal every alpahbet must have a frequency equal to the size of the given vector\n\n\n\n```\nclass Solution {\npublic:\n    bool makeEqual(vector<string>& words) {\n        map<char,int>freq;\n        for(auto child:words)\n            for(auto c:child)\n                freq[c]++;\n       \n        int n=words.size();\n        for(auto child:freq){\n            if(child.second%n!=0)\n                return false;\n        }\n        return true;\n    }\n};\n```
[]