
回文
文章平均质量分 81
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 · 690 阅读 · 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 · 517 阅读 · 0 评论 -
LeetCode 9. Palindrome Number(回文数字)
原题网址:https://leetcode.com/problems/palindrome-number/ Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative integers原创 2016-05-19 04:37:11 · 550 阅读 · 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 · 1306 阅读 · 0 评论 -
LeetCode 336. Palindrome Pairs(回文对)
原题网址:https://leetcode.com/problems/palindrome-pairs/ Given a list of unique words. Find all pairs of distinct indices (i, j) in the given list, so that the concatenation of the two words, i.e.原创 2016-04-30 05:34:08 · 2769 阅读 · 3 评论 -
LeetCode 132. Palindrome Partitioning II(回文切分)
原题网址:https://leetcode.com/problems/palindrome-partitioning-ii/ Given a string s, partition s such that every substring of the partition is a palindrome. Return the minimum cuts needed for a pa原创 2016-05-27 00:22:56 · 831 阅读 · 0 评论