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

 

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

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)

public int[] quiz2024_02_20_APP1SLHL_reverseArray(int[] nums) { }

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

Copyright Nick Parlante 2017 - privacy