随笔分类 - 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 <
阅读全文
摘要:题目描述: 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
阅读全文
摘要:题目要求: 给定一个字符串,请找出其中无重复字符的最长子字符串。 样例 例如,在"abcabcbb"中,其无重复字符的最长子字符串是"abc",其长度为 3。 对于,"bbbbb",其无重复字符的最长子字符串为"b",长度为1。 挑战 O(n) 时间 O(n) 时间 原题地址: LeetCode:h
阅读全文

浙公网安备 33010602011771号