码迷,mamicode.com
首页 >  
搜索关键字:longest consecutive    ( 3017个结果
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 ...
分类:其他好文   时间:2017-10-23 21:41:02    阅读次数:144
687. Longest Univalue Path
Given a binary tree, find the length of the longest path where each node in the path has the same value. This path may or may not pass through the roo ...
分类:其他好文   时间:2017-10-22 21:20:42    阅读次数:101
LeetCode 674. Longest Continuous Increasing Subsequence (最长连续递增序列)
Given an unsorted array of integers, find the length of longest continuous increasing subsequence. Example 1: Example 2: Note: Length of the array wil ...
分类:其他好文   时间:2017-10-22 11:05:25    阅读次数:244
543. Diameter of Binary Tree
Given a binary tree, you need to compute the length of the diameter of the tree. The diameter of a binary tree is the length of the longestpath betwee ...
分类:其他好文   时间:2017-10-22 00:19:56    阅读次数:225
104. Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest l ...
分类:其他好文   时间:2017-10-21 19:02:59    阅读次数:194
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: Example: ...
分类:其他好文   时间:2017-10-20 12:02:22    阅读次数:139
413. Arithmetic Slices
A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the ...
分类:其他好文   时间:2017-10-19 21:16:10    阅读次数:266
485. Max Consecutive Ones
485. Max Consecutive Ones Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Solution1: ...
分类:其他好文   时间:2017-10-19 19:41:04    阅读次数:226
674. Longest Continuous Increasing Subsequence
Given an unsorted array of integers, find the length of longest continuous increasing subsequence. Example 1: Example 2: Note: Length of the array wil ...
分类:其他好文   时间:2017-10-19 15:56:00    阅读次数:148
算法 - 最长无重复子串
原题: https://leetcode.com/problems/longest-substring-without-repeating-characters/description/ 参考: [LeetCode] Longest Substring Without Repeating Chara ...
分类:编程语言   时间:2017-10-18 16:16:17    阅读次数:252
3017条   上一页 1 ... 91 92 93 94 95 ... 302 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!