链接:https://ac.nowcoder.com/acm/contest/908/G 题意: A palindrome is a symmetrical string, that is, a string read identically from left to right as well a ...
分类:
其他好文 时间:
2019-06-01 19:32:05
阅读次数:
108
[LeetCode] Longest Substring Without Repeating Characters 最长无重复字符的子串 Given a string, find the length of the longest substring without repeating charac ...
分类:
编程语言 时间:
2019-05-30 01:18:05
阅读次数:
106
[LeetCode] 5. Longest Substring Without Repeating Characters Given a string s, find the longest palindromic substring in s. You may assume that the ma ...
分类:
其他好文 时间:
2019-05-29 16:30:47
阅读次数:
86
给定一个字符串数组,找出数组中所有元素共同的最大前缀。
分类:
编程语言 时间:
2019-05-27 00:52:43
阅读次数:
180
14. 最长公共前缀 14. Longest Common Prefix 题目描述 编写一个函数来查找字符串数组中的最长公共前缀。 如果不存在公共前缀,返回空字符串 ""。 LeetCode14. Longest Common Prefix 示例 1: 输入: ["flower","flow","f ...
分类:
其他好文 时间:
2019-05-25 17:04:40
阅读次数:
113
128. Longest Consecutive Sequence Given an unsorted array of integers, find the length of the longest consecutive elements sequence. Your algorithm sh ...
分类:
Web程序 时间:
2019-05-24 00:58:51
阅读次数:
143
Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer ...
分类:
其他好文 时间:
2019-05-23 21:24:22
阅读次数:
97
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Example 2: ...
分类:
其他好文 时间:
2019-05-23 20:55:16
阅读次数:
101
674. 最长连续递增序列 674. Longest Continuous Increasing Subsequence 题目描述 给定一个未经排序的整型数组,找到 最长且连续 的递增序列。 Given an unsorted array of integers, find the length o ...
分类:
其他好文 时间:
2019-05-21 13:27:10
阅读次数:
102