摘要: 题目描述: Given a non-empty string check if it can be constructed by taking a substring of it and appending multiple copies of the substring together. You 阅读全文
posted @ 2017-06-01 21:11 Jiang_Chen 阅读(151) 评论(0) 推荐(0)
摘要: 题目要求: 给定一个字符串,请找出其中无重复字符的最长子字符串。 样例 例如,在"abcabcbb"中,其无重复字符的最长子字符串是"abc",其长度为 3。 对于,"bbbbb",其无重复字符的最长子字符串为"b",长度为1。 挑战 O(n) 时间 O(n) 时间 原题地址: LeetCode:h 阅读全文
posted @ 2017-06-01 09:10 Jiang_Chen 阅读(282) 评论(0) 推荐(0)