
Manacher
文章平均质量分 84
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 131. Palindrome Partitioning(回文分区)
原题网址:https://leetcode.com/problems/palindrome-partitioning/Given a string s, partition s such that every substring of the partition is a palindrome.Return all possible palindrome partitionin原创 2016-05-27 00:25:24 · 676 阅读 · 0 评论 -
LeetCode 5. Longest Palindromic Substring(最长回文子串)
原题网址:https://leetcode.com/problems/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, and there e原创 2016-05-19 03:25:31 · 512 阅读 · 0 评论 -
LeetCode 214. Shortest Palindrome(最短回文)
原题网址:https://leetcode.com/problems/shortest-palindrome/Given a string S, you are allowed to convert it to a palindrome by adding characters in front of it. Find and return the shortest palindrom原创 2016-05-06 02:42:12 · 1273 阅读 · 0 评论