摘要: ``` class Solution { public: const std::vector LongestCommonSubstring(const std::string& s1, const std::string& s2) { if (s1.empty() || s2.empty()) { 阅读全文
posted @ 2019-07-23 19:58 JohnRed 阅读(130) 评论(0) 推荐(0) 编辑
摘要: ``` class Solution { public: std::string LongestCommonSubsequence(const std::string& s1, const std::string& s2) { if (s1.empty()||s2.empty()) { return 0; } //d... 阅读全文
posted @ 2019-07-23 10:30 JohnRed 阅读(115) 评论(0) 推荐(0) 编辑