摘要: class Solution { public: int lengthOfLongestSubstring(string s) { int res=0,rul=1; map <char, int> word; for(int i=1;i<=s.length();++i){ if(word[s[i-1 阅读全文
posted @ 2020-05-31 15:27 ikefire 阅读(97) 评论(0) 推荐(0) 编辑