Leetcode 1544. Make String Great
Intuition
Use two pointers to iterate through the string checking each adjacent character to see if it is "bad" or "good".
Approach
First if the string is 1 or fewer characters we know it is good so we can just return it.
If that's not the case, we c...
blog.kennycarneal.com2 min read