Meta interview question

recursively remove all adjacent repeating characters from a string