Write a python code to get longest palindrome in a given string
AnswerBot
4mo
Python code to find the longest palindrome in a given string
Iterate through each character in the string and check for palindromes centered at that character
Keep track of the longest palindrome found ...read more
Help your peers!
Add answer anonymously...
Top Prodapt Software Engineer interview questions & answers
Popular interview questions of Software Engineer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app