Domanda di colloquio di Meta

recursively remove all adjacent repeating characters from a string