def findTheDifference(self, s, t):
:type s: str
:type t: str
for ch in t:
The method is very cool.
Very interesting idea, however this would repeatedly look at the same letters .. i.e. the e below.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.