def halfIsom(self, s, t):
        lookup = {}
        for i in xrange(len(s)):
            if s[i] not in lookup:
                lookup[s[i]] = t[i]
            elif lookup[s[i]] != t[i]:
                return False
        return True
dataset/ETHPy150Open kamyu104/LeetCode/Python/isomorphic-strings.py/Solution.halfIsom/original