码迷,mamicode.com
首页 >  
搜索关键字:longest consecutive    ( 3017个结果
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: 查找最长的回文子串,这道 ...
分类:其他好文   时间:2018-11-06 00:54:27    阅读次数:110
[LeetCode] 522. Longest Uncommon Subsequence II
Given a list of strings, you need to find the longest uncommon subsequence among them. The longest uncommon subsequence is defined as the longest subs ...
分类:其他好文   时间:2018-11-05 21:29:47    阅读次数:207
20/32/22/856/301/921 Parentheses 括号匹配或者生成题
20. https://leetcode.com/problems/valid-parentheses/description/ 32. https://leetcode.com/problems/longest-valid-parentheses/description/ 22. https:// ...
分类:其他好文   时间:2018-11-04 11:10:48    阅读次数:134
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 ...
分类:其他好文   时间:2018-11-03 14:12:27    阅读次数:120
2018-11-2 星期五
English: listening、speaking、reading、writing、translation 1. The more you sweat here, the less you'll bleed in battle. 2. You can finish the longest roa ...
分类:其他好文   时间:2018-11-03 02:24:42    阅读次数:224
300. Longest Increasing Subsequence
Given an unsorted array of integers, find the length of longest increasing subsequence. Example: Input: [10,9,2,5,3,7,101,18] Output: 4 Explanation: T ...
分类:其他好文   时间:2018-11-03 01:57:55    阅读次数:114
#Leetcode# 14. Longest Common Prefix
https://leetcode.com/problems/longest-common-prefix/description/ Write a function to find the longest common prefix string amongst an array of strings ...
分类:其他好文   时间:2018-11-02 23:36:38    阅读次数:103
Longest Common Subsequence
Source https://onlinejudge.u-aizu.ac.jp/problems/ALDS1_10_C Description Time Limit : 1 sec , Memory Limit : 131072 KB Time Limit : 1 sec , Memory Limi ...
分类:其他好文   时间:2018-11-02 21:43:17    阅读次数:164
Leetcode(Longest Substring Without Repeating Characters)
public class Solution { public int lengthOfLongestSubstring(String s) { int n = s.length(); Set set = new HashSet(); int ans = 0, i = 0, j = 0; while ...
分类:其他好文   时间:2018-11-02 00:13:24    阅读次数:104
395. Longest Substring with At Least K Repeating Characters
https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters/discuss/87739/Java-Strict-O(N)-Two-Pointer-Solution window分别为1-26 ...
分类:其他好文   时间:2018-10-31 12:28:58    阅读次数:143
3017条   上一页 1 ... 53 54 55 56 57 ... 302 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!