0409 Longest Palindrome
Warning
This post is more than a year old. Information may be outdated.
Solved at: 230128
Question
Given a string s which consists of lowercase or uppercase letters, return *the length of the longest palindrome* that can be built with those letters.
Letters are case sensitive, for example, "Aa" is not considered a palindrome here.
Solution
Backlinks1
Coding TestsComments