🔥unordered_map || Frequency Count || 🎓 ! 💯✔🔥
# Code\ncpp []\nclass Solution {\npublic:\n    vector<string> uncommonFromSentences(string s1, string s2) {\n        unordered_map<string, int> mp;\n        int
***# Code***\n```cpp []\nclass Solution {\npublic:\n    vector<string> uncommonFromSentences(string s1, string s2) {\n        unordered_map<string, int> mp;\n        int n = s1.size();\n        int i = 0;\n        while (i < n) {\n            string t = "";\n            while (i < n && s1[i] != \' \') {\n                t += s1[i];\n                i++;\n            }\n            i++;\n            mp[t]++;\n        }\n        int j = 0;\n        while (j < s2.size()) {\n            string t = "";\n            while (j < s2.size() && s2[j] != \' \') {\n                t += s2[j];\n                j++;\n            }\n            j++;\n            mp[t]++;\n        }\n        vector<string> v;\n        for (auto it : mp)\n            if (it.second == 1)\n                v.push_back(it.first);\n\n        return v;\n    }\n};\n```
['Hash Table', 'String', 'Counting', 'C++']