about | help | code help+videos | done | prefs |
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) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy