Longest Palindrome Problem

Longest Palindrome Problem — ExecCode Easy DSA Practice

Solve the Longest Palindrome problem on ExecCode. Free online easy DSA practice in Hashing. Write and run code in Java, C++, Python — no signup required to run.

Description 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. Examples Example 1 Input: s = "abccccdd"…

Practice Longest Palindrome free on ExecCode. Browse more ExecCode DSA problems.