Replacing Characters with other Characters
You are given a string containing only the characters 'a' and 'b' as an argument. Return a new string where each 'a' is turned into 'bb' and each 'bb' is turned into 'a'.
- Must return a string
solve("aabbbbbb") > "bbbbaaa"
solve("bbabb") > "abba"