LeetCode
Palindrome Partitioning II
Click
here
for an explanation.