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-11-04 14:54:23
阅读次数:
147
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:
其他好文 时间:
2017-11-04 13:35:47
阅读次数:
146
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring. For "(()", the lo ...
分类:
其他好文 时间:
2017-11-04 13:34:15
阅读次数:
116
1040. Longest Symmetric String (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue 时间限制 400 ms 时间限制 400 ms 内存限制 65536 kB 内存限制 655 ...
分类:
其他好文 时间:
2017-11-02 01:05:09
阅读次数:
211
什么是列表标签? 1.列表标签的作用:给一堆数据添加列表语义,也就是告诉搜素引擎告诉浏览器这一堆数据是一个整体。 2.HTML中列表标签的分类 2.1无序列表(最多人用)(unordered list) 2.2有序列表(最少人用)(ordered list) 2.3定义列表(其次)(definiti ...
分类:
Web程序 时间:
2017-11-01 21:44:32
阅读次数:
337
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-28 11:20:46
阅读次数:
164
14. Longest Common Prefix 14. Longest Common Prefix 14. Longest Common Prefix 14. Longest Common Prefix DescriptionHintsSubmissionsDiscussSolution Des ...
分类:
其他好文 时间:
2017-10-27 20:36:49
阅读次数:
126
Given a string, you are supposed to output the length of the longest symmetric sub-string. For example, given "Is PAT&TAP symmetric?", the longest sym ...
分类:
其他好文 时间:
2017-10-27 17:56:31
阅读次数:
144
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-27 01:37:34
阅读次数:
137
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-25 00:40:17
阅读次数:
161