Remove All Occurrences of a Substring | Leetcode 1910