Ad
  • Default User Avatar

    I suppose the details didn't say anything about case sensitivity, but isn't racecar still a palindrome even when it's titleized (Racecar)?

    longest_palindrome 'Racecar'
    => 5
    R'aceca'r