LeetCode-3:Longest Substring Without Repeating Characters
摘要:
描述:给一个字符串s,找到它的最长子串(无任何字符重复)substring的长度。 举例: Input: "abcabcbb" Output: 3 Explanation: The answer is "abc", which the length is 3. 思路: 我的做法是从左至右扫描,设re 阅读全文
posted @ 2018-08-24 20:54 莫行 阅读(169) 评论(0) 推荐(0) 编辑