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

 

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

Write a method that matches this test data! Note that the array will NOT be empty.


bcd1fun([4, 76, 2, 124]) → [124, 4, 76, 2]
bcd1fun([5, 7]) → [7, 5]
bcd1fun([1, 2, 3, 4, 5, 6]) → [6, 1, 2, 3, 4, 5]

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

public int[] bcd1fun(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