随笔分类 -  LeetCode

摘要:题目描述: Given two non-negative integers num1 and num2 represented as string, return the sum ofnum1 and num2. 注意事项 The length of both num1 and num2 is < 阅读全文
posted @ 2017-06-06 21:54 Jiang_Chen 阅读(186) 评论(0) 推荐(0)
摘要:题目描述: 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 阅读(153) 评论(0) 推荐(0)
摘要:题目要求: 给定一个字符串,请找出其中无重复字符的最长子字符串。 样例 例如,在"abcabcbb"中,其无重复字符的最长子字符串是"abc",其长度为 3。 对于,"bbbbb",其无重复字符的最长子字符串为"b",长度为1。 挑战 O(n) 时间 O(n) 时间 原题地址: LeetCode:h 阅读全文
posted @ 2017-06-01 09:10 Jiang_Chen 阅读(286) 评论(0) 推荐(0)