LeetCode
Shortest Palindrome
Click
here
for an explanation.