How to find the longest Palindrome in a String using Python

This occasionally comes up during coding interviews and is actually quite a decent way to test someone’s aptitude of moving back and forth on a string to determine if and where palindromes exist. If we simply said: “return a boolean if a string is a palin… Read more

Similar