about | help | code help+videos | done | prefs |
Write a method that accepts a string as an input parameter and returns a new version of the string as shown in the test data. This method can be done in one line of code using recursion. However, recursion is NOT required. crazyStringOffice("Jim") → "JimJiJ" crazyStringOffice("Creed") → "CreedCreeCreCrC" crazyStringOffice("paper") → "paperpapepappap" ...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: 290
Copyright Nick Parlante 2017 - privacy