Leetcode 2301. Match Substring After Replacement | Hello Interview