码迷,mamicode.com
首页 >  
搜索关键字:longest palindromic    ( 2914个结果
[LeetCode] 3. Longest Substring Without Repeating Characters
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
leetCode 5. Longest Palindromic Substring
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
LeetCode 674. 最长连续递增序列(Longest Continuous Increasing Subsequence) 18
674. 最长连续递增序列 674. Longest Continuous Increasing Subsequence 题目描述 给定一个未经排序的整型数组,找到 最长且连续 的递增序列。 Given an unsorted array of integers, find the length o ...
分类:其他好文   时间:2019-05-21 13:27:10    阅读次数:102
leetcode_1048. Longest String Chain_[DP,动态规划,记忆化搜索]
https://leetcode.com/problems/longest-string-chain/ Let's say word1 is a predecessor of word2 if and only if we can add exactly one letter anywhere in ...
分类:其他好文   时间:2019-05-19 13:59:38    阅读次数:225
Leetcode-5058 Longest Duplicate Substring(最长重复子串)
原谅我使用了不道德的手段,对样例编程 ...
分类:其他好文   时间:2019-05-12 13:37:30    阅读次数:197
409. Longest Palindrome(计算一组字符集合可以组成的回文字符串的最大长度)
Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters. This ...
分类:其他好文   时间:2019-05-10 23:59:33    阅读次数:228
POJ2533:Longest Ordered Subsequence
Longest Ordered Subsequence Longest Ordered Subsequence Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 31680 Accepted: 13848 Description A ...
分类:其他好文   时间:2019-05-09 22:17:43    阅读次数:156
Longest Continuous Increasing Subsequence LT674
Given an unsorted array of integers, find the length of longest continuous increasing subsequence (subarray). Example 1: Example 2: Idea 1. Dynamic pr ...
分类:其他好文   时间:2019-05-09 10:46:05    阅读次数:99
指针的应用
案例一:Leetcode 28.实现 strStr() 给定一个 haystack 字符串和一个 needle 字符串,在 haystack 字符串中找出 needle 字符串出现的第一个位置 (从0开始)。如果不存在,则返回 -1。 示例 1: 输入: haystack = "hello", ne ...
分类:其他好文   时间:2019-05-03 14:44:59    阅读次数:114
线段树的区间合并 B - LCIS
Given n integers. You have two operations: U A B: replace the Ath number by B. (index counting from 0) Q A B: output the length of the longest consecu ...
分类:其他好文   时间:2019-05-03 11:27:10    阅读次数:185
2914条   上一页 1 ... 34 35 36 37 38 ... 292 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!