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-17 17:29:48
阅读次数:
185
Find the length of the longest substring T of a given string (consists of lowercase letters only) such that every character in T appears no less than ...
分类:
其他好文 时间:
2017-10-17 15:15:41
阅读次数:
141
Given a group of two strings, you need to find the longest uncommon subsequence of this group of two strings. The longest uncommon subsequence is defi ...
分类:
其他好文 时间:
2017-10-17 12:18:49
阅读次数:
104
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:
其他好文 时间:
2017-10-15 22:29:54
阅读次数:
145
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-15 19:36:02
阅读次数:
137
Given a binary tree, find the length of the longest consecutive sequence path.The path could be start and end at any node in the tree Example 1 / \ 2 ...
分类:
其他好文 时间:
2017-10-14 12:37:53
阅读次数:
132
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-13 10:24:16
阅读次数:
161
Given a binary tree, find the length of the longest consecutive sequence path. The path refers to any sequence of nodes from some starting node to any ...
分类:
其他好文 时间:
2017-10-13 10:11:47
阅读次数:
121
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-10 21:50:19
阅读次数:
162
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example: Input: "babad" Output: "b ...
分类:
其他好文 时间:
2017-10-09 23:57:19
阅读次数:
231