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

 

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

Write a method that returns the integer array 'nums' in reverse order. Look at the test data for examples.


quiz2022_03_01_APSLHL_reverse([59784, 32, 23486, 32876, 1242]) → [1242, 32876, 23486, 32, 59784]
quiz2022_03_01_APSLHL_reverse([532, 214, 42, 5457, 8, 9, 1]) → [1, 9, 8, 5457, 42, 214, 532]
quiz2022_03_01_APSLHL_reverse([1, 2, 3, 4, 5, 6, 7, 8, 9]) → [9, 8, 7, 6, 5, 4, 3, 2, 1]

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

public int[] quiz2022_03_01_APSLHL_reverse(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: 240

Copyright Nick Parlante 2017 - privacy