Implement a function to find the longest palindromic substring in a given string
HardProblem Statement
Implement a function to find the longest palindromic substring in a given string
Sample Input
"babad"
Sample Output
aba
Limits
Time: 2s · Memory: 256 MB