Find Longest Palindromic Substring

Given a string, find the longest palindromic substring. The input is a string consisting of uppercase letters, and the output is the longest palindromic substring. If there are multiple substrings of ...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: