LeetCode
Delete Operation for Two Strings
Click
here
for an explanation.