摘要: class Solution { public: int lengthOfLongestSubstring(string s) { int m[256] = {0}, res = 0, left = 0; for (int i = 0; i < s.size(); ++i) { if (m[s[i]] == 0 || m[s[i... 阅读全文
posted @ 2018-04-08 23:26 Prof 阅读(91) 评论(0) 推荐(0)