about | help | code help+videos | done | prefs |
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) |
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