id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

jebbert@volusia.k12.fl.us > okraCrazyAdvanced2
prev  |  next  |  chance

Write a method that produces the results shown in this test data. Note that there is NOT a space at the end of the string. This CAN be done recursively, but recursion is not required. I solved this very nicely in one line!


okraCrazyAdvanced2("testing") → "testing esting sting ting ing ng g"
okraCrazyAdvanced2("Andrew") → "Andrew ndrew drew rew ew w"
okraCrazyAdvanced2("Hayden") → "Hayden ayden yden den en n"

...Save, Compile, Run (ctrl-enter)

public String okraCrazyAdvanced2(String str) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 390

Copyright Nick Parlante 2017 - privacy