E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
palindrome
[LeetCode]
Palindrome
Number
题意:又是回文判断:该数是否是回文数 原题来自:https://leetcode.com/problems/
palindrome
-number/ 分析:回文真多,直接把数反转来判断是否相等。
·
2015-06-19 08:00
LeetCode
leetcode--
Palindrome
Partitioning
Givenastrings,partitionssuchthateverysubstringofthepartitionisa
palindrome
.Returnallpossible
palindrome
partitioningofs.Forexample
kangaroo835127729
·
2015-06-18 23:00
[LeetCode-JAVA] Shortest
Palindrome
题目: Given a string S, you are allowed to convert it to a
palindrome
by adding characters in front of
·
2015-06-18 21:00
LeetCode
leetcode 9 --
Palindrome
Number
题目Determinewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.Somehints:Couldnegativeintegersbe
palindrome
s
to_be_better
·
2015-06-18 16:00
Sicily 4190 Prime
Palindrome
s
DescriptionThenumber151isaprime
palindrome
becauseitisbothaprimenumberanda
palindrome
(itisthesamenumberwhenreadforwardasbackward
DouMiaoO_Oo
·
2015-06-17 10:00
sicily
Palindrome
Partitioning
Given a string s, partition s such that every substring of the partition is a
palindrome
hcx2013
·
2015-06-16 23:00
partition
Leetcode - Shortest
Palindrome
Given a string S, you are allowed to convert it to a
palindrome
by adding characters in front of it.
likesky3
·
2015-06-13 10:00
LeetCode
Leetcode[9]-
Palindrome
Number
Link:https://leetcode.com/problems/
palindrome
-number/Determinewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.Somehints
拾毅者
·
2015-06-13 08:03
Leetcode
Leetcode[9]-
Palindrome
Number
Link:https://leetcode.com/problems/
palindrome
-number/Determinewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.Somehints
Dream_angel_Z
·
2015-06-13 08:00
String
number
回文数
extra
palindrome
Leetcode[9]-
Palindrome
Number
Link:https://leetcode.com/problems/
palindrome
-number/Determinewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.Somehints
Dream_angel_Z
·
2015-06-13 08:00
String
number
回文数
extra
palindrome
C实现 LeetCode->Reverse Integer
2: 逆转整数可能溢出;假设输入是一个32位整数,然后反向1000000003溢出// //
Palindrome
Number.c //Algorithms /
liutianshx2012
·
2015-06-11 10:00
C实现 LeetCode->
Palindrome
Number
Determinewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.判断一个整形是不是回文,不能使用额外的空间 扩展:(判断一个字符串是不是回文
liutianshx2012
·
2015-06-11 10:00
Leetcode - Longest
Palindrome
Substring
<div class="it610-blog-content-contain" style="font-size: 14px"></div> Given a string S, find the longest palindromic substring in S. You may assume that the maximum l
likesky3
·
2015-06-11 09:00
substring
[LeetCode] Shortest
Palindrome
Then get the substring after this longest
palindrome
substring, reverse it and add it to the h
·
2015-06-11 01:00
LeetCode
Palindrome
Number --java的实现
Palindrome
Number Determinewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.Somehints:Couldnegativeintegersbe
palindrome
s
waycaiqi
·
2015-06-10 22:00
java
LeetCode
回文
对称
Palindrome
Numbers(LA2889)第n个回文数是?
J-
Palindrome
NumbersTimeLimit:3000MS MemoryLimit:0KB 64bitIOFormat:%lld&%lluSubmit Status Practice
u010579068
·
2015-06-10 13:00
组合
数论
palindrome
Numbers
LA2889
第n个回文数是
LeetCode 题解(186):
Palindrome
Linked List
题目:Givenasinglylinkedlist,determineifitisa
palindrome
.Followup:CouldyoudoitinO(n)timeandO(1)space?
u011029779
·
2015-06-07 18:00
Algorithm
LeetCode
面试题
C实现 LeetCode->Longest Palindromic Substring
S.Youmayassumethatthemaximumlengthof S is1000,andthereexistsoneuniquelongestpalindromicsubstring.回文,英文
palindrome
liutianshx2012
·
2015-06-06 18:00
leetcode--Valid
Palindrome
Givenastring,determineifitisa
palindrome
,consideringonlyalphanumericcharactersandignoringcases.Forexample
kangaroo835127729
·
2015-06-06 00:00
CodeForces 486C
Palindrome
Transformation(贪心)
CodeForces486C
Palindrome
Transformation(贪心)CodeForces486C题目大意: 将一个不是回文的字符串通过最少的操作使之成为回文串。
u012997373
·
2015-06-05 10:00
leetcode:Reverse Integer 及
Palindrome
Number
Reverse Integer Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 click to show spoilers. Have you thought about this? Here are some good quest
·
2015-06-05 00:00
LeetCode
leetcode
Palindrome
Number
题目链接这里publicclassSolution{ publicbooleanis
Palindrome
(intx){ if(x<0) { returnfalse; } Stringnumber=String.valueOf
bleuesprit
·
2015-06-02 21:00
LeetCode 8:
Palindrome
Number
Determinewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.本题是判断一个数是否是回文数。
sunao2002002
·
2015-06-01 23:00
LeetCode
回文数
Longest Palindromic Substring
S.Youmayassumethatthemaximumlengthof S is1000,andthereexistsoneuniquelongestpalindromicsubstring.classSolution{ public: stringlongest
Palindrome
brucehb
·
2015-06-01 12:00
URAL1297:
Palindrome
(后缀数组)
DescriptionThe“U.S.Robots”HQhasjustreceivedaratheralarminganonymousletter.Itstatesthattheagentfromthecompeting«RobotsUnlimited»hasinfiltratedinto“U.S.Robotics”.«U.S.Robots»securityservicewouldhavealre
libin56842
·
2015-05-31 00:00
后缀数组
ural
CF 486C
Palindrome
Transformation
n lowercaseEnglishletters.Itismeaningless,soNamdecidedtomakethestringmorebeautiful,thatistomakeitbea
palindrome
byusing4arrowkeys
cacyth
·
2015-05-30 12:00
LeetCode 214 - Shortest
Palindrome
GivenastringS,youareallowedtoconvertittoa
palindrome
byaddingcharactersinfrontofit.Findandreturntheshortest
palindrome
youcanfindbyperformingthistransformation.Forexample
yuanhisn
·
2015-05-28 10:00
k-
palindrome
Question:Ak-
palindrome
isastringwhichtransformsintoa
palindrome
onremovingatmostkcharacters.GivenastringS
yuanhisn
·
2015-05-28 09:00
[待续]Minimum appends to convert string into
palindrome
Convertthegivenstringinto
palindrome
withminimumnumberofappends(atendofthegivenstring).O(n)algorithmwillbeappreciated.Input
yuanhisn
·
2015-05-28 09:00
LeetCode 9 -
Palindrome
Number
Determinewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.publicbooleanis
Palindrome
(intx){ inty
yuanhisn
·
2015-05-28 09:00
Check If A Singly Linked List Is
Palindrome
Givenasinglylinkedlistofcharacters,writeafunctionthatreturnstrueifthegivenlistis
palindrome
,elsefalse.METHOD1
yuanhisn
·
2015-05-28 09:00
LeetCode -
Palindrome
Partitioning II
Givenastring s,partition s suchthateverysubstringofthepartitionisa
palindrome
.Returntheminimumcutsneededfora
palindrome
partitioningof
yuanhisn
·
2015-05-28 09:00
leetcode 9 --
Palindrome
Number
Palindrome
Number题目:Determinewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.题意:判断一个整数是否是回文的,要求不使用额外的空间思路
wwh578867817
·
2015-05-27 23:00
python
Integer
leetcode_Valid
Palindrome
描述:Givenastring,determineifitisa
palindrome
,consideringonlyalphanumericcharactersandignoringcases.Forexample
dfb198998
·
2015-05-27 14:00
valid
palindrome
LeetCode 214 - Shortest
Palindrome
Given a string S, you are allowed to convert it to a
palindrome
by adding characters in front of it.
yuanhsh
·
2015-05-26 22:00
LeetCode
LeetCode 214 - Shortest
Palindrome
Given a string S, you are allowed to convert it to a
palindrome
by adding characters in front of it.
yuanhsh
·
2015-05-26 22:00
LeetCode
3.1Valid
Palindrome
Notes: Givenastring,determineifitisa
palindrome
,consideringonlyalphanumericcharactersandignoringcases.
ZhikangFu
·
2015-05-26 16:00
Palindrome
Number
Determine whether an integer is a
palindrome
. Do this without extra space.
hcx2013
·
2015-05-24 11:00
java
leetcode 214: Shortest
Palindrome
Shortest
Palindrome
TotalAccepted:172TotalSubmissions:1344GivenastringS,youareallowedtoconvertittoa
palindrome
byaddingcharactersinfrontofit.Findandreturntheshortest
palindrome
youcanfindbyperformingthistra
xudli
·
2015-05-23 06:00
java
LeetCode
Algorithm
C++
python
LeetCode 题解(91): Shortest
Palindrome
题目:GivenastringS,youareallowedtoconvertittoa
palindrome
byaddingcharactersinfrontofit.Findandreturntheshortest
palindrome
youcanfindbyperformingthistransformation.Forexample
u011029779
·
2015-05-23 05:00
Algorithm
LeetCode
面试题
[LeetCode] Shortest
Palindrome
最短回文串
Given a string S, you are allowed to convert it to a
palindrome
by adding characters in front
·
2015-05-23 03:00
LeetCode
欧拉工程第36题:Double-base
palindrome
s
题目链接:https://projecteuler.net/problem=36这个数是十进制的回文数也是二进制的回文数,求小于一百万的这样的数之和。思路:1.判断十进制数是不是回文数2.若是,把十进制数转换成二进制数3.判断二进制数是不是回文数如何判断回文数:把数转换成字符串,对称位置是否相等,全部对称位置相对是回文数。Java代码:packageprojecteuler31to40; imp
qunxingvip
·
2015-05-22 19:00
java
python
欧拉工程
十进制数
二进制数
java 回文判断
老师给的复习卷子,编程题的第一题是判断一个String对象是否是回文,如“level”就是回文 下面是我的实现: publicclassUtil{publicstaticbooleanis
Palindrome
首席吹牛官
·
2015-05-22 12:00
java
编程
String
null
Class
java 回文判断
老师给的复习卷子,编程题的第一题是判断一个String对象是否是回文,如“level”就是回文 下面是我的实现: publicclassUtil{publicstaticbooleanis
Palindrome
首席吹牛官
·
2015-05-22 12:00
java
编程
String
null
Class
java 回文判断
老师给的复习卷子,编程题的第一题是判断一个String对象是否是回文,如“level”就是回文 下面是我的实现: publicclassUtil{publicstaticbooleanis
Palindrome
首席吹牛官
·
2015-05-22 12:00
java
编程
String
null
Class
java 回文判断
老师给的复习卷子,编程题的第一题是判断一个String对象是否是回文,如“level”就是回文 下面是我的实现: publicclassUtil{publicstaticbooleanis
Palindrome
首席吹牛官
·
2015-05-22 12:00
java
编程
String
null
Class
java 回文判断
老师给的复习卷子,编程题的第一题是判断一个String对象是否是回文,如“level”就是回文 下面是我的实现: publicclassUtil{publicstaticbooleanis
Palindrome
首席吹牛官
·
2015-05-22 12:00
java
编程
String
null
Class
Leetcode -
Palindrome
Partition II
Given a string s, partition s such that every substring of the partition is a
palindrome
likesky3
·
2015-05-21 21:00
partition
UVA11584---Partitioning by
Palindrome
s(dp)
Wesayasequenceofcharactersisa
palindrome
ifitisthesamewrittenforwardsandbackwards.Forexam-ple,‘racecar’
Guard_Mine
·
2015-05-21 18:00
dp
POJ3280 Cheapest
Palindrome
题目链接:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=16272题意:给一个字符串和每个字符的权值,问最小代价通过删除或者增加任意位置字符使得字符变为回文串。思路:区间DP,毫无意外的看了题解。具体的话每次增加一个字符,增加代价为头字符和尾字符代价的最小值。当头尾相等时,即data[i]==data[j]时,dp[i][j
beihai2013
·
2015-05-21 14:00
上一页
78
79
80
81
82
83
84
85
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他