Replace all occurrences of substring
Given three strings s, s1, and s2 of lengths n, m, and k respectively, the task is to modify the string s by replacing all the substrings s1 with the string s2 in the string s.Examples:Input: s = "abababa", s1 = "aba", s2 = "a"Output: abaExplanation: Change the substrings s[0, 2] and s[4, 6] to the