Solution for NPTEL Programming, Data Structures and Algorithms using Python, Week 8 Programming Assignment

Question :- Find the longest palindrome As we all know, a palindrome is a word that equals its reverse. Here are some examples of palindromes: malayalam, gag, appa, amma. We consider any sequence consisting of the letters of the English alphabet to be a word. So axxb,abbba and bbbccddx are words for our purpose. And aaabbaaa, Read more…