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

 

andersoniii.edwin@cusd80.com week6 > merryGoRoundLeft
prev  |  next  |  chance

Write a method merryGoRoundLeft(String[]list). This method will receive an array containing at least three Strings and switch the order of the strings in the array and return the array. The first will be last, the second will become the first and so forth.


merryGoRoundLeft(["first", "second", "third"]) → ["second", "third", "first"]
merryGoRoundLeft(["first", "second", "third", "fourth"]) → ["second", "third", "fourth", "first"]
merryGoRoundLeft(["fun", "funny", "funniest"]) → ["funny", "funniest", "fun"]

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

public String[] merryGoRoundLeft(String[] list){ }

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

Copyright Nick Parlante 2017 - privacy