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
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
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
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
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
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
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 Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Solution1: ...
分类:
其他好文 时间:
2017-10-19 19:41:04
阅读次数:
226
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