Longest Palindrome
Explore how to determine the longest palindrome that can be created from a given string by applying hash map operations. Understand the challenges of case sensitivity and practice coding an optimal O(n) time solution. This lesson helps you develop problem-solving skills to tackle palindrome-related coding interview questions.
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: ...