- 博客(2)
- 收藏
- 关注
原创 Leetcode 3. Longest Substring Without Repeating Characters(最长不重复子串)
Given a string, find the length of the longest substring without repeating characters.Examples:Given “abcabcbb”, the answer is “abc”, which the length is 3.Given “bbbbb”, the answer is “b”, with the le
2017-12-02 21:39:57 148
原创 HDOJ-3068 最长回文 (manacher求最长回文串)
最长回文 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem Description 给出一个只由小写英文字符a,b,c…y,z组成的字符串S,求S中最长回文串的长度. 回文就是正反读都是一样的字符串,如aba, abba等Input 输入有多组case,不超过1
2017-12-01 15:56:19 197
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人