码迷,mamicode.com
首页 >  
搜索关键字:palindromic substrin    ( 620个结果
Java [leetcode 5] 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 exists one unique l...
分类:编程语言   时间:2015-04-25 14:54:13    阅读次数:145
Java for LeetCode 005 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 exists one unique longes...
分类:编程语言   时间:2015-04-25 12:09:43    阅读次数:158
【USACO 2015 Open Gold】Palindromic Paths 动态规划
题解: f(i,j,k,l)f(i,j,k,l) 表示起点横着走 ii 步,竖着走 jj 步,终点竖着走 kk 步,横着走 ll 步时的回文方案数。 然后跑动态规划时 f(i,j,k,l)f(i,j,k,l) 可以更新 f(i+1,j,k+1,l)、f(i+1,j,k,l+1)、f(i,j+1,k+1,l)、f(i,j+1,k,l+1)f(i+1,j,k+1,l)、f(i+1,j,k,l+...
分类:其他好文   时间:2015-04-23 17:40:16    阅读次数:309
[LeetCode] Longest Palindromic Substring
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 exists one unique longest palindrom...
分类:其他好文   时间:2015-04-17 13:55:59    阅读次数:162
5. Longest Palindromic Substring
题目:Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest...
分类:其他好文   时间:2015-04-15 21:20:54    阅读次数:101
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 exists one unique longes...
分类:其他好文   时间:2015-04-13 18:24:42    阅读次数:112
LeetCode5 Longest Palindromic Substring
描述:Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest...
分类:其他好文   时间:2015-04-12 20:54:09    阅读次数:137
串的动态存储分配
串:由零个或者多个字符组成的有限序列。零个字符的串称为空串,和空格串【一个或多个空格诸城的串】有区别,请注意比较。在串的抽象数据类型中,有五个操作组成最小操作子集,分别是串赋值StrAssign,串比较StrCompare,求串长StrLength ,串联接Concat,求子串SubStrin...
分类:其他好文   时间:2015-04-12 19:16:38    阅读次数:228
一天三题LeetCode(C++&JAVA)-4~6
4.Median of Two Sorted Arrays 5.Longest Palindromic Substring 6.ZigZag Conversion...
分类:编程语言   时间:2015-04-10 11:36:28    阅读次数:149
Longest Palindromic Substring——LeetCode
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:其他好文   时间:2015-04-08 00:54:17    阅读次数:113
620条   上一页 1 ... 46 47 48 49 50 ... 62 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!