
回文数
文章平均质量分 53
小榕流光
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[leetcode] 234. Palindrome Linked List 解题报告
题目链接:https://leetcode.com/problems/palindrome-linked-list/Given a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(n) time and O(1) space?思路:如果不限制O(1)原创 2015-12-19 15:27:52 · 981 阅读 · 0 评论 -
[leetcode] 125. Valid Palindrome 解题报告
题目链接:https://leetcode.com/problems/valid-palindrome/Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan,原创 2015-12-19 05:40:59 · 540 阅读 · 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原创 2015-12-19 15:55:24 · 720 阅读 · 0 评论 -
[leetcode] 266. Palindrome Permutation 解题报告
题目链接:https://leetcode.com/problems/palindrome-permutation/Given a string, determine if a permutation of the string could form a palindrome.For example,"code" -> False, "aab" -> True, "ca原创 2016-02-26 14:47:52 · 1827 阅读 · 0 评论 -
[leetcode] 267. Palindrome Permutation II 解题报告
题目链接: https://leetcode.com/problems/palindrome-permutation-ii/Given a string s, return all the palindromic permutations (without duplicates) of it. Return an empty list if no palindromic permu原创 2016-03-14 15:41:05 · 1680 阅读 · 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原创 2015-12-18 05:45:14 · 694 阅读 · 0 评论 -
[leetcode] 409. Longest Palindrome 解题报告
题目链接:https://leetcode.com/problems/longest-palindrome/Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those let原创 2016-10-10 04:01:48 · 1069 阅读 · 0 评论