题目:

题解:
class Solution:
def findLUSlength(self, a: str, b: str) -> int:
return max(len(a), len(b)) if a != b else -1
题目:

题解:
class Solution:
def findLUSlength(self, a: str, b: str) -> int:
return max(len(a), len(b)) if a != b else -1

被折叠的 条评论
为什么被折叠?