You are viewing a single comment's thread. Return to all comments →
C# implementation:
static string strings_xor(string s, string t) { string result = ""; for(int i = 0; i < s.Length; i++) { result += s[i] == t[i] ? '0' : '1'; } return result; }
Compiler is saying "Wrong Answer".
Seems like cookies are disabled on this browser, please enable them to open this website
XOR Strings
You are viewing a single comment's thread. Return to all comments →
C# implementation:
Compiler is saying "Wrong Answer".