class Solution(object):
def findLUSlength(self, a, b):
"""
:type a: str
:type b: str
:rtype: int
"""
m = len(a)
n = len(b)
if a == b:
return -1
return max(m, n)
class Solution(object):
def findLUSlength(self, a, b):
"""
:type a: str
:type b: str
:rtype: int
"""
m = len(a)
n = len(b)
if a == b:
return -1
return max(m, n)