Back to Questions

Longest Palindrome

123.7K viewsAsked at Amazon
Easy

Question Explain

Given a string $s$ which consists of lowercase or uppercase letters, find the length of the longest palindrome that can be built from those letters. Case sensitive.

Start Trying This Question Simulation

Practice answering orally or with text to get instant AI feedback.

Practice with This Question
Longest Palindrome - Interview Question