Bootstrap

C++ | Leetcode C++题解之第521题最长特殊序列I

题目:

题解:

class Solution {
public:
    int findLUSlength(string a, string b) {
        return a != b ? max(a.length(), b.length()) : -1;
    }
};
;