problem 4:Largest palindrome product 题意:求由三位数和三位数之积构成的最大回文数字 代码如下: ...
分类:
其他好文 时间:
2017-01-16 19:54:22
阅读次数:
175
原题链接在这里:https://leetcode.com/problems/longest-palindrome/ 题目: Given a string which consists of lowercase or uppercase letters, find the length of the ...
分类:
其他好文 时间:
2017-01-08 09:09:43
阅读次数:
169
9. Palindrome Number Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative int ...
分类:
其他好文 时间:
2016-12-11 17:52:18
阅读次数:
239
9. Palindrome Number Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative int... ...
分类:
其他好文 时间:
2016-12-11 10:28:59
阅读次数:
221
https://leetcode.com/problems/palindrome-number/ 试了几种办法,这个应该是比较快的。 ...
分类:
其他好文 时间:
2016-12-09 19:06:34
阅读次数:
198
Determine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you are thinki... ...
分类:
其他好文 时间:
2016-11-29 14:49:41
阅读次数:
193
Problem: Determine whether an integer is a palindrome. Do this without extra space. 简单的回文数,大一肯定有要求写过,不过从基础开始尝试吧。 Solution: ...
分类:
其他好文 时间:
2016-11-27 13:59:11
阅读次数:
208
Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. For exampl ...
分类:
其他好文 时间:
2016-11-19 09:45:26
阅读次数:
159