[Solved] Recursion : method which takes a string, and for each repeating sequence of characters in the string, removes all but one of them

[ad_1]

Recursion : method which takes a string, and for each repeating sequence of characters in the string, removes all but one of them

[ad_2]

solved Recursion : method which takes a string, and for each repeating sequence of characters in the string, removes all but one of them