X172: stringClean

Given a string, return a recursively "cleaned" string where adjacent chars that are the same have been reduced to a single char. So "yyzzza" yields "yza".

Reset

Practice a different Java exercise