最新文章列表

Palindrome总结

这篇文章总结leetcode中回文的题目,其中关于palindrome partition有两道题目,第二道属于动态规划的题目,我们动态规划的总结中讨论。简单的讲回文就是 ...
KickCode 评论(0) 有612人浏览 2015-12-15 05:44

[待续]Minimum appends to convert string into palindrome

Convert the given string into palindrome with minimum number of appends(at end of the given string). O(n) algorithm will be appreciated.Input:MalayalOutput:Malayalam See discussions here at Linkedin ...
yuanhsh 评论(0) 有663人浏览 2015-02-28 15:12

[待续]Convert string to palindrome string with minimum insertions

Given a string, find the minimum number of characters to be inserted to convert it to palindrome.       For Eg :-            ab:      Number of insertions required is 1. bab            aa:      Nu ...
yuanhsh 评论(0) 有898人浏览 2015-02-26 05:47

算法1

A string is a palindrome if it has exactly the same sequence of characters when read left-to-right as it has when read right-to-left. For example, the following strings are palindromes: "ka ...
xtuhcy 评论(0) 有1486人浏览 2012-04-11 17:09

最近博客热门TAG

Java(141741) C(73643) C++(68602) SQL(64557) C#(59604) XML(59131) HTML(59042) JavaScript(54916) .net(54782) Web(54511) 工作(54116) Linux(50906) Oracle(49861) 应用服务器(43285) Spring(40811) 编程(39452) Windows(39380) JSP(37540) MySQL(37266) 数据结构(36420)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics