Maggie also appears in The Walking Dead TV Show she is played by Lauren Cohan. Her first appearance is in the second episode of the second season. Maggie is a 23 year old farm girl daughter of Hershel Greene. In the third season Maggie was promoted to the main cast.
Palindromes redirects here. For the film, see Palindromes (film). A palindrome is a word, phrase, number, or other sequence of characters which reads the same backward as forward, such as madam or racecar.
Obviously if aString is itself a palindrome then aString is the longest palindrome inside aString. You can tell it is working by the assertion statement. Do not think too much about the first line of executable code. It runs in exponential time to the size of the given text. 2  It runs by enumerating all the strings in the form a-z, creating two regexes for each generated string and testing the input against each regex. 3  Further, it fails if the palindrome contains uppercase letters, numbers, non-ascii text, punctuation, etc.