C++ | My shortest solution, 0ms 100% / without stringstream
\n    vector<string> uncommonFromSentences(string A, string B) {\n        string nw = A + " " + B, str = "";\n        map<string, int> mp;\n        vector<strin
```\n    vector<string> uncommonFromSentences(string A, string B) {\n        string nw = A + " " + B, str = "";\n        map<string, int> mp;\n        vector<string> ans;\n        for(char x : nw){\n            if(x==\' \'){\n                mp[str]++;\n                str="";\n            }\n            else str+=x;\n        }\n        mp[str]++;\n        for(auto it : mp){\n            if(it.second==1) ans.push_back(it.first);\n        }\n        return ans;\n    }\n```
['C', 'C++']