weeklychallenge
In case of doubt, use a regex: the weekly challenge 328 task 1
Task 1: Replace all ?: You are given a string containing only lower case English letters and ?. Write a script to replace all ? in the given string so that the string doesn’t contain consecutive repeating characters. This problem reminds me of a logic puzzle, figuring out all the possibilities and