Delete Operation For Two Strings Leetcode Solution