class Solution { public: char findTheDifference(string s, string t) { int res = 0; for(auto c :s) res^=c; for(auto d:t) res^=d; return (char)res; } };