LeetCode
Longest Palindromic Substring
Click
here
for an explanation.