Search
⌘K

Leetcode 409. Longest Palindrome

Given a case-sensitive string, return the length of the longest palindrome you can build by reordering its letters — computed by summing pairs from character frequencies and optionally adding one odd-count character as the center.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.