| about | help | done | prefs | create account |
Java > Recursion-1 > allStar
prev | next | chance
| Given a string, compute recursively a new string where all the adjacent chars are now separated by a "*".
allStar("hello") → "h*e*l*l*o" allStar("abc") → "a*b*c" allStar("ab") → "a*b" ...Save, Compile, Run See also Java Example Code. Java help docs: If Boolean Logic | Strings | While and For Loops | Arrays and Loops
|
Forget It! -- delete my code for this problem
New just for fun
Random User Progress Graphs
Random Epic Graphs
354.0
Copyright Nick Parlante 2006-11 - privacy