最新文章列表

Palindrome总结

这篇文章总结leetcode中回文的题目,其中关于palindrome partition有两道题目,第二道属于动态规划的题目,我们动态规划的总结中讨论。简单的讲回文就是 ...
KickCode 评论(0) 有555人浏览 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) 有599人浏览 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) 有844人浏览 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) 有1418人浏览 2012-04-11 17:09

最近博客热门TAG

Java(141744) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54919) .net(54785) Web(54514) 工作(54118) Linux(50905) Oracle(49875) 应用服务器(43289) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37267) 数据结构(36424)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics