Longest Palindrome
Explore how to determine the longest palindrome length that can be formed from a given string using hash maps. Learn to handle case sensitivity and optimize your solution for time and space complexity, preparing you to solve similar coding interview challenges confidently.
We'll cover the following...
We'll cover the following...
Statement
Given a string s that only contains alphabets, return the length of the longest palindrome that may be composed using those letters.
Note: Letters are case-sensitive. Hence, combinations such as “
Aa” are not considered palindromes.
Constraints:
...