about | help | code help+videos | done | prefs |
Write a method that returns an array with the same elements as in the 'nums' array, but with all the elements in the reverse order. Look at the test data for examples. quiz2024_02_20_APP1SLHL_reverseArray([5, 7, 12, 19, 24, 27]) → [27, 24, 19, 12, 7, 5] quiz2024_02_20_APP1SLHL_reverseArray([]) → [] quiz2024_02_20_APP1SLHL_reverseArray([76]) → [76] ...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: 260
Copyright Nick Parlante 2017 - privacy