题目:最长的回文串 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-03-10 11:14:21
阅读次数:
126
Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For example, ...
分类:
其他好文 时间:
2019-03-10 09:53:03
阅读次数:
121
Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For example, ...
分类:
其他好文 时间:
2019-03-04 09:23:18
阅读次数:
163
You can see a (4 × 4) grid below. Can you tell me how many squares and rectangles are hidden there? You can assume that squares are not rectangles. Pe ...
分类:
其他好文 时间:
2019-02-20 09:24:36
阅读次数:
205
题目: Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique lo ...
分类:
其他好文 时间:
2019-02-18 18:58:53
阅读次数:
145
题目: Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique lo ...
分类:
其他好文 时间:
2019-02-18 18:52:07
阅读次数:
132
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. E ...
分类:
其他好文 时间:
2019-02-14 00:20:31
阅读次数:
172
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:
其他好文 时间:
2019-02-13 22:30:45
阅读次数:
206
455. Assign Cookies Easy 26957FavoriteShare 455. Assign Cookies Easy 26957FavoriteShare Easy Assume you are an awesome parent and want to give your ch ...
分类:
其他好文 时间:
2019-02-12 18:39:01
阅读次数:
180
Given a string s, find the longest palindromic subsequence's length in s. You may assume that the maximum length of s is 1000. Example 1:Input: Output ...
分类:
其他好文 时间:
2019-02-11 12:26:57
阅读次数:
172