tag:blogger.com,1999:blog-6294663875929591018.post7341302503080537677..comments2023-09-24T03:12:58.137-07:00Comments on Ramblings of a techie: Find all possible palindromes in a String in Java C++BragBoyhttp://www.blogger.com/profile/01173019524783723568noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-6294663875929591018.post-22590683869851177792014-07-31T00:04:39.880-07:002014-07-31T00:04:39.880-07:00What is the complexity?What is the complexity?vijhttps://www.blogger.com/profile/10665862495286996401noreply@blogger.comtag:blogger.com,1999:blog-6294663875929591018.post-4424088739421372282014-07-30T23:54:36.060-07:002014-07-30T23:54:36.060-07:00This comment has been removed by the author.vijhttps://www.blogger.com/profile/10665862495286996401noreply@blogger.comtag:blogger.com,1999:blog-6294663875929591018.post-8332915481597499642013-11-10T04:47:23.570-08:002013-11-10T04:47:23.570-08:00@Prasad Prabu: You're most welcome!@Prasad Prabu: You're most welcome!BragBoyhttps://www.blogger.com/profile/01173019524783723568noreply@blogger.comtag:blogger.com,1999:blog-6294663875929591018.post-72170913974433209962013-10-11T11:18:57.159-07:002013-10-11T11:18:57.159-07:00Hi, What if i dont want to print the palindromes w...Hi, What if i dont want to print the palindromes which are part of a big palindrome. Can u provide with its code too?Jashhttps://www.blogger.com/profile/07246822800605846721noreply@blogger.comtag:blogger.com,1999:blog-6294663875929591018.post-61821386756725657722013-10-11T11:18:05.288-07:002013-10-11T11:18:05.288-07:00This comment has been removed by the author.Jashhttps://www.blogger.com/profile/07246822800605846721noreply@blogger.comtag:blogger.com,1999:blog-6294663875929591018.post-5776751964322927992012-11-02T01:44:43.674-07:002012-11-02T01:44:43.674-07:00Your code fails for "aab".
Change the in...Your code fails for "aab".<br />Change the initial value of i to 0 in the for loop for even number. It will solve the problem.Gaurav Aggarwalhttps://www.blogger.com/profile/05009012317825756108noreply@blogger.comtag:blogger.com,1999:blog-6294663875929591018.post-46887377064215439382011-06-09T19:14:42.578-07:002011-06-09T19:14:42.578-07:00Thanks Nagarajan for checking out!Thanks Nagarajan for checking out!BragBoyhttps://www.blogger.com/profile/01173019524783723568noreply@blogger.comtag:blogger.com,1999:blog-6294663875929591018.post-57508035425524251602011-06-07T11:22:02.905-07:002011-06-07T11:22:02.905-07:00Hi Bragadeesh,
I was searching for a O(n2) soluti...Hi Bragadeesh,<br /><br />I was searching for a O(n2) solution for the longest palindrome problem for more than one week. Not able to find an understandable solution.<br /><br />Thank you so much for your clear explanation :-)<br /><br />Your blog is very useful and please keep up your good work!nagarajanhttps://www.blogger.com/profile/14103626552552102597noreply@blogger.comtag:blogger.com,1999:blog-6294663875929591018.post-63843558002761237162010-08-08T12:41:42.583-07:002010-08-08T12:41:42.583-07:00@Spider: Thanks for stopping by and your comments!...@Spider: Thanks for stopping by and your comments!!!BragBoyhttps://www.blogger.com/profile/01173019524783723568noreply@blogger.comtag:blogger.com,1999:blog-6294663875929591018.post-85180860645881246102010-08-07T12:02:02.058-07:002010-08-07T12:02:02.058-07:00Very useful blog!
A minor thing --
In Java imp...Very useful blog! <br /><br />A minor thing -- <br /><br />In Java impl, the even outer loop should start from 0 instead of 1. Can be tested with <br />"aacddcbaABCDEDCBA" and the current program doesn't print aa.<br /><br />Thanks again!Spiderhttps://www.blogger.com/profile/15032011577857097472noreply@blogger.comtag:blogger.com,1999:blog-6294663875929591018.post-23881933518492264962010-05-03T10:48:53.252-07:002010-05-03T10:48:53.252-07:00@Van:
Yes "cc" is also a palindrome. You...@Van:<br />Yes "cc" is also a palindrome. You can have that line as well. But a palindrome would look proud and decent if it has at least 3 characters in it :)<br />Thanks for stopping by!BragBoyhttps://www.blogger.com/profile/01173019524783723568noreply@blogger.comtag:blogger.com,1999:blog-6294663875929591018.post-1068004533848723372010-04-27T23:25:23.956-07:002010-04-27T23:25:23.956-07:00Hi, I am wondering why you're have the conditi...Hi, I am wondering why you're have the condition check at line 18 of Java code to check if the length of the given text is less than or equal to 2. Isn't a word like "cc" a palindrom as well? Anyways, thanks for the post, it helps.ifanchuhttps://www.blogger.com/profile/10886023434653520373noreply@blogger.com