LeetCode
Find the Shortest Superstring
Click
here
for an explanation.