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
Palindrome
Linked List
234.
Palindrome
LinkedListMySubmissionsQuestionTotalAccepted: 33856 TotalSubmissions: 129644 Difficulty
EbowTang
·
2016-01-17 12:00
LeetCode
链表
Educational Codeforces Round 2 C.Make
Palindrome
(贪心)
EducationalCodeforcesRound2B:http://codeforces.com/contest/600/problem/CC.Make
Palindrome
timelimitpertest2secondsmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputAstringiscalledpalin
idealism_xxm
·
2016-01-17 11:00
codeforces
贪心
G面经prepare: Chucked
Palindrome
给定一个字符串,找出最多有多少个chunked
palindrome
, 正常的
palindrome
是abccba,chunked
palindrome
的定义是:比如volvo,可以把vo划分在一起,(
neverlandly
·
2016-01-17 11:00
[POJ 3280]Cheapest
Palindrome
[DP]
题目链接:[POJ3280]Cheapest
Palindrome
[DP]题意分析:有一个长度为m的字符串,全都为小写字母,给出串中每个字母删除和插入的代价,问:要构成回文串,最少需要多少代价?
CatGlory
·
2016-01-14 12:00
dp
leetcode125---Valid
Palindrome
(回文字符串)
问题描述:Givenastring,determineifitisa
palindrome
,consideringonlyalphanumericcharactersandignoringcases.Forexample
will130
·
2016-01-14 11:00
LeetCode
String
leetcode234---
Palindrome
Linked List(回文链表)
问题描述:Givenasinglylinkedlist,determineifitisa
palindrome
.Followup:CouldyoudoitinO(n)timeandO(1)space?
will130
·
2016-01-13 20:00
链表
009
Palindrome
Number (C)
Determinewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.回文数:逆序数和正序数不变,对于越界,如果逆序后越界说明不是回文数题目要求不要开辟额外的空间如果没有这个要求我立马会用字符串解决
molu_chase
·
2016-01-12 18:00
POJ-3974-
Palindrome
- Manacher 马拉车算法(On寻找最长回文串)
http://poj.org/problem?id=3974马拉车算法的讲解,这个地方讲得很详细:http://www.cnblogs.com/grandyang/p/4475985.html很简单的又很有威力的一个算法。实现非常简单该算法主要步骤就两步:1、通过加不影响结果的分隔符#,使得不管奇偶串通通变成奇数串2、通过利用对称的关系 线性复杂度求得P数组则最长回文串便是 max_p[i]-1了
viphong
·
2016-01-08 09:00
leetcode_
palindrome
例子如下:"Aman,aplan,acanal:Panama"isa
palindrome
.publicclassValid
Palindrome
{ publicstaticvoidmain(String
sweetxy
·
2016-01-05 18:00
Palindrome
Number Leetcode Python 2016 new Season
Determinewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.clicktoshowspoilers.ShowTagsShowSimilarProblemsTheproblemrequirementdoesn'tmakesense
hyperbolechi
·
2016-01-04 10:00
Valid
Palindrome
有效回文串,只包括字母数字,不分大小写
Givenastring,determineifitisa
palindrome
,consideringonlyalphanumericcharactersandignoringcases.Forexample
chenyx90
·
2016-01-03 17:01
leetcode
leetcode第9题——*
Palindrome
Number
题目Determinewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.clicktoshowspoilers.Somehints:Couldnegativeintegersbe
palindrome
s
buptlrw
·
2016-01-03 17:00
java
LeetCode
python
leetcode笔记:
Palindrome
Number
一.题目描述Determinewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.Somehints:Couldnegativeintegersbe
palindrome
s
liyuefeilong
·
2015-12-31 23:00
LeetCode
Algorithm
算法
String
palindrome
[LeetCode] #9
Palindrome
Number
好久没有刷题了,现在开始刷LeetCode GitHub: https://github.com/MummyDing/LeetCodeSource: https://leetcode.com/problems/
palindrome
-number
u012560612
·
2015-12-28 17:00
Algorithm
LeetCode
LeetCode(131)
Palindrome
Partitioning
题目Givenastring s,partition s suchthateverysubstringofthepartitionisa
palindrome
.Returnallpossible
palindrome
partitioningof
fly_yr
·
2015-12-28 13:00
LeetCode
String
Palindrome
DescriptionAndythesmartcomputersciencestudentwasattendinganalgorithmsclasswhentheprofessoraskedthestudentsasimplequestion,"Canyouproposeanefficientalgorithmtofindthelengthofthelargest
palindrome
inastri
qq_32126633
·
2015-12-27 20:00
USACO--Dual
Palindrome
s
Dual
Palindrome
sMarioCruz(Colombia)&HugoRickeboer(Argentina)Anumberthatreadsthesamefromrighttoleftaswhenreadfromlefttorightiscalleda
palindrome
.Thenumber12321isa
palindrome
lk951208
·
2015-12-27 13:00
POJ1159
Palindrome
动态规划+滚动数组
POJ1159
Palindrome
Description给你一个字符串,可在任意位置添加字符,最少再添加几个字符,可以使这个字符串成为回文字符串。
Lxp丨小包子
·
2015-12-23 15:02
ACM——POJ
Palindrome
Number
9.
Palindrome
NumberMySubmissionsQuestionTotalAccepted: 95908 TotalSubmissions: 319671 Difficulty: EasyDeterminewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.clicktoshowspoilers.Subscribe
EbowTang
·
2015-12-20 21:00
LeetCode
数据结构
算法
面试
数学
125 Valid
Palindrome
题目链接:https://leetcode.com/problems/valid-
palindrome
/题目:Givenastring,determineifitisa
palindrome
,consideringonlyalphanumericcharactersandignoringcases.Forexample
加油小松鼠
·
2015-12-20 00:26
LeetCode
Palindrome
Number 解题报告
题目链接:https://leetcode.com/problems/
palindrome
-number/Determinewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.clicktoshowspoilers.Somehints
qq508618087
·
2015-12-19 15:00
LeetCode
算法
回文数
palindrome
[leetcode]
Palindrome
Linked List 解题报告
题目链接:https://leetcode.com/problems/
palindrome
-linked-list/Givenasinglylinkedlist,determineifitisa
palindrome
.Followup
qq508618087
·
2015-12-19 15:00
LeetCode
算法
链表
list
single
palindrome
[leetcode] Valid
Palindrome
解题报告
题目链接:https://leetcode.com/problems/valid-
palindrome
/Givenastring,determineifitisa
palindrome
,consideringonlyalphanumericcharactersandignoringcases.Forexample
qq508618087
·
2015-12-19 05:00
LeetCode
算法
String
回文数
palindrome
[leetcode] Shortest
Palindrome
解题报告
题目链接:https://leetcode.com/problems/shortest-
palindrome
/GivenastringS,youareallowedtoconvertittoa
palindrome
byaddingcharactersinfrontofit.Findandreturntheshortest
palindrome
youcanfindbyperformingthistran
qq508618087
·
2015-12-19 05:00
LeetCode
算法
KMP
回文数
palindrome
LeetCode:
Palindrome
Linked List - 回文链表
1、题目名称
Palindrome
LinkedList(回文链表)2、题目地址https://leetcode.com/problems/
palindrome
-linked-list/3、题目内容英文:Givenasinglylinkedlist
北风其凉
·
2015-12-18 21:00
LeetCode
回文链表
#234
POJ 3280 Cheapest
Palindrome
(区间dp)
Cheapest
Palindrome
TimeLimit: 2000MSMemoryLimit: 65536KTotalSubmissions: 7343Accepted: 3544DescriptionKeepingtrackofallthecowscanbeatrickytasksoFarmerJohnhasinstalledasystemtoautomateit.Hehasinstalle
zwj1452267376
·
2015-12-18 21:00
leetcode --
Palindrome
Partitioning II -- 重点
https://leetcode.com/problems/
palindrome
-partitioning-ii/这里其实要做两次dp思路1参考http://www.cnblogs.com/zuoyuan
xyqzki
·
2015-12-18 09:00
LeetCode
LeetCode
Palindrome
Number
LeetCode解题之
Palindrome
Number原题判断一个int型数字是否是回文形式,不许用额外的空间。
u013291394
·
2015-12-16 12:00
LeetCode
算法
python
回文
palindrome
【Leetcode】Valid
Palindrome
题目链接:https://leetcode.com/problems/valid-
palindrome
/题目:Givenastring,determineifitisa
palindrome
,consideringonlyalphanumericcharactersandignoringcases.Forexample
yeqiuzs
·
2015-12-15 11:00
leetcode --
Palindrome
Partitioning -- 重点 dfs
https://leetcode.com/problems/
palindrome
-partitioning/分割问题,找分割点。
xyqzki
·
2015-12-15 11:00
LeetCode
【Leetcode】
Palindrome
Number
题目链接:https://leetcode.com/problems/
palindrome
-number/题目:Determinewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.Somehints
yeqiuzs
·
2015-12-15 10:00
poj3280
Cheapest
Palindrome
TimeLimit: 2000MS MemoryLimit: 65536KTotalSubmissions: 7352 Accepted: 3551DescriptionKeepingtrackofallthecowscanbeatrickytasksoFarmerJohnhasinstalledasystemtoautomateit.Hehasinstalle
yuanjunlai141
·
2015-12-15 09:00
Palindrome
总结
这篇文章总结leetcode中回文的题目,其中关于
palindrome
partition有两道题目,第二道属于动态规划的题目,我们动态规划的总结中讨论。简单的讲回文就是将它翻转后和原来一样。
KickCode
·
2015-12-15 05:00
java
palindrome
回文序列
[leetcode]
Palindrome
Partitioning II 解题报告
题目链接: https://leetcode.com/problems/
palindrome
-partitioning-ii/Givenastring s,partition s suchthateverysubstringofthepartitionisa
palindrome
.Returntheminimumcutsneededfora
palindrome
partitioningof
qq508618087
·
2015-12-13 12:00
LeetCode
算法
动态规划
【小程序】汇编实现判断回文
DATASEGMENT PromptDB'Pleaseenterastring:$' YesStrDB13,10,'Thisstringis
palindrome
$' NoStrDB13,10,'Thisstringisnot
palindrome
TinyJian
·
2015-12-13 10:00
[leetcode]
Palindrome
Partitioning 解题报告
题目链接: https://leetcode.com/problems/
palindrome
-partitioning/Givenastring s,partition s suchthateverysubstringofthepartitionisa
palindrome
.Returnallpossible
palindrome
partitioningof
qq508618087
·
2015-12-13 06:00
DFS
深度搜索
回朔
Light oj--1258(KMP的变形)
DescriptionAstringissaidtobea
palindrome
ifitremainssamewhenreadbackwards.So,'abba','madam'bothare
palindrome
s
MBLHQ
·
2015-12-11 21:00
LeetCode:
Palindrome
Number
问题描述:Determinewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.思路:1、求出位数;2、取出数的第一位和最后一位比较,若相同,将第一位和最后一位同时去掉
u014744118
·
2015-12-09 12:00
LeetCode
C++
[leetcode]Valid
Palindrome
题目描述如下:Givenastring,determineifitisa
palindrome
,consideringonlyalphanumericcharactersandignoringcases.Forexample
u012505618
·
2015-12-09 11:00
LeetCode
最长回文子串
判断一个字符串是否是回文,最简单的方式字符串头尾字符一一比较:1boolIs
Palindrome
s(constchar*pstr,intn)2{3inti=0,j=n-1;4while(i=j)//i=
·
2015-12-09 11:21
回文
leetcode -- Shortest
Palindrome
-- 不太理解
https://leetcode.com/problems/shortest-
palindrome
/solution:http://bookshadow.com/weblog/2015/05/22/leetcode-shortest-
palindrome
xyqzki
·
2015-12-08 20:00
LeetCode
Palindrome
Linked List
Givenasinglylinkedlist,determineifitisa
palindrome
.Followup:CouldyoudoitinO(n)timeandO(1)space?
qq_18343569
·
2015-12-07 22:00
Leetcode日记(4)---Longest Palindromic Substring
eg:abccba动态规划classSolution{ public: stringlongest
Palindrome
(strings){ intlen=s.length(),max=1,ss=0,tt
alive2012
·
2015-12-04 21:00
LeetCode
LeetCode(234)
Palindrome
Linked List
题目Givenasinglylinkedlist,determineifitisa
palindrome
.Followup:CouldyoudoitinO(n)timeandO(1)space?
fly_yr
·
2015-12-03 13:00
LeetCode Valid
Palindrome
原题链接在这里:https://leetcode.com/problems/valid-
palindrome
/注意在用Character.isLetter(s.charAt(i))或者Character.isDigit
Dylan_Java_NYC
·
2015-12-03 11:00
Valid
Palindrome
原题链接在这里:https://leetcode.com/problems/valid-
palindrome
/题目:Givenastring,determineifitisa
palindrome
,consideringonlyalphanumericcharactersandignoringcases.Note
Dylan_Java_NYC
·
2015-12-03 11:00
LeetCode
Palindrome
Number
原题链接在这里:https://leetcode.com/problems/
palindrome
-number/div表示能走到的第二高位。
Dylan_Java_NYC
·
2015-12-03 10:00
leetcode--Valid
Palindrome
--- 算法简单,需要看看怎么写的
https://leetcode.com/problems/valid-
palindrome
/看自己的submission
xyqzki
·
2015-12-02 11:00
leetcode --
Palindrome
Number
https://leetcode.com/problems/
palindrome
-number/understanding:题目原意是要我们用数学的办法去coding,而不是转化成string。
xyqzki
·
2015-12-02 11:00
LeetCode--
Palindrome
Number
题目描述:Determinewhetheranintegerisa
palindrome
.Dothiswithoutextraspace.Somehints:Couldnegativeintegersbe
palindrome
s
csharp25
·
2015-12-02 10:00
上一页
62
63
64
65
66
67
68
69
下一页
按字母分类:
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
其他