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

 

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

Write a method that rearranges the letters in each string, and changes the position of each string in an array as shown in the sample data for this problem. You may want to start by making a dummy method just to see some more test data.


moveItDownStr(["he gamet"]) → ["the game"]
moveItDownStr(["A"]) → ["A"]
moveItDownStr(["waya", "a", "ongl", "imet", "goa"]) → ["a", "long", "time", "ago", "away"]

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

public String[] moveItDownStr(String[] strs) { }

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: 290

Copyright Nick Parlante 2017 - privacy