The CERT course is taught in the community by a trained team of first responders who have completed a CERT Train-the-Trainer course conducted by their state training office for emergency management, or FEMA's Emergency Management Institute (EMI).
palindrome - a word or phrase that reads the same backward as forward. word - a unit of language that native speakers can identify; words are the blocks from which sentences are made; he hardly said ten words all morning. Translations. palindrom.
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.