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

posted on 2017-04-19 11:04  Sempron2800+  阅读(127)  评论(0编辑  收藏  举报