Longest palindrome in a string | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Longest palindrome in a string

input : babcbab qwwq output : longest palindrome = babcbab length = 7

9th Feb 2017, 5:23 AM
deepak joshi
deepak joshi - avatar
2 Answers
0
string pal = "tattarrattat"; Defined by the Oxford Dictionary, but either use your search engine or rephrase this question that explains why you need someone here (like me) to answer it if it is not as simple as it looks.
11th Feb 2017, 6:10 AM
James Burton
James Burton - avatar
0
what is this?
11th Feb 2017, 6:24 AM
deepak joshi
deepak joshi - avatar