0

Program to find longest palindrome from a string

6th Jun 2018, 7:03 PM
Sabitha
4 Réponses
+ 2
Go from left to right and check for each char and equal char pair how many equal char pairs surround it.
7th Jun 2018, 2:28 PM
Timon Paßlick
+ 1
what have you tried so far? post what you have gotten done already so we can help
6th Jun 2018, 8:33 PM
J.G.
J.G. - avatar
+ 1
sorry I haven't yet tried . still searching for the right and most easiest algorithm but I couldn't get any such algorithm. it could be much helpful if you could suggest me any method that is easy to understand as well please provide me the pseudocode at least. Thanks in advance
7th Jun 2018, 7:13 AM
Sabitha
+ 1
sounds good thank you timon
7th Jun 2018, 2:31 PM
Sabitha