public class Solution {

    public char findTheDifference(String s, String t) {

        char addedChar = 0;

        for (int i = 0; i < s.length(); ++i) {
            addedChar ^= s.charAt(i);
        }

        for (int i = 0; i < t.length(); ++i) {
            addedChar ^= t.charAt(i);
        }

        return addedChar;

    }

}

@@ -136,35 +136,35 @@
 i %3C s.length(); 
+i
 ++
-i
 ) %7B%0A            
@@ -244,11 +244,11 @@
 (); 
+i
 ++
-i
 ) %7B%0A

Create : 389 Find the Difference