脑筋急转弯
func findLUSlength(a string, b string) int {
if a != b {
return max(len(a), len(b))
}
return -1
}
func max(a,b int) int {
if a > b {
return a
}
return b
}
标签:return,int,max,521,func,序列,leetcode
From: https://www.cnblogs.com/wudanyang/p/17003982.html