- Longest Palindrome Add to List
Description Submission Solutions
Total Accepted: 28693
Total Submissions: 64338
Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters.
Assume the length of given string will not exceed 1,010.
One longest palindrome that can be built is “dccaccd”, whose length is 7.