public class Solution { public int FindLUSlength(string a, string b) { return a == b ? -1 : Math.Max(a.Length, b.Length); } }
https://leetcode.com/problems/longest-uncommon-subsequence-i/#/description
public class Solution { public int FindLUSlength(string a, string b) { return a == b ? -1 : Math.Max(a.Length, b.Length); } }
https://leetcode.com/problems/longest-uncommon-subsequence-i/#/description
转载于:https://www.cnblogs.com/asenyang/p/6732306.html