0

Given a string find all the sub strings that are pallondromes.

19th Aug 2017, 4:29 AM
Suraj MU
Suraj MU - avatar
16 Answers
19th Aug 2017, 7:12 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 1
Baptiste's solution is your answer. I'll throw my own because stuff like this is fun as heck to code on the fly: https://code.sololearn.com/cBhO2IzKO3WU
19th Aug 2017, 8:19 AM
Sapphire
0
explain clearly
19th Aug 2017, 4:42 AM
corejava
0
You're given a string of characters display those sub strings which are pallindromes.
19th Aug 2017, 4:43 AM
Suraj MU
Suraj MU - avatar
0
show me eg input and output
19th Aug 2017, 4:43 AM
corejava
0
abaaa This string has the following pallindromic substrings a b aa aaa aba
19th Aug 2017, 4:49 AM
Suraj MU
Suraj MU - avatar
0
hello h e l l o whether like this?
19th Aug 2017, 4:50 AM
corejava
0
and ll is also a pallindromic substring
19th Aug 2017, 4:51 AM
Suraj MU
Suraj MU - avatar
0
I couldn't get u clearly what ur trying to tell
19th Aug 2017, 4:53 AM
corejava
0
hello h e ll o like this??
19th Aug 2017, 4:54 AM
corejava
0
You don't know what is a pallindrome?
19th Aug 2017, 4:54 AM
Suraj MU
Suraj MU - avatar
0
I knew that
19th Aug 2017, 4:54 AM
corejava
0
Yeah like that.
19th Aug 2017, 4:54 AM
Suraj MU
Suraj MU - avatar
0
if letter repeated then it should be on same line right? then why do u tel palindrome?? ll is palindrome
19th Aug 2017, 4:55 AM
corejava
0
Fine leave it.
19th Aug 2017, 5:22 AM
Suraj MU
Suraj MU - avatar
0
Checks for palindrome words with at least 2 letters. Not what you wanted, but more fun to write: https://code.sololearn.com/c4qk5RTml5B4/?ref=app
19th Aug 2017, 8:57 PM
Timon Paßlick