2018年10月2日

无重复字符的最长子串

摘要: 代码: int lengthOfLongestSubstring(char* s) { int i, j, l = 0, Length = strlen(s), max = 1; /*l指向每一轮比较的起点,max是不重复的最长字符数*/ if (Length == 0) return 0; for 阅读全文

posted @ 2018-10-02 22:17 Beyond_YYL 阅读(147) 评论(0) 推荐(0) 编辑

导航