about | help | code help+videos | done | prefs |
APCS Recursion 2, Problem 4. Given a string, return recursively a "cleaned" string where adjacent chars that are the same have been reduced to a single char. So "yyzzza" yields "yza". R24_stringClean("yyzzza") → "yza" R24_stringClean("abbbcdd") → "abcd" R24_stringClean("Hello") → "Helo" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 300
Copyright Nick Parlante 2017 - privacy