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

 

pais@kinetigram.com > A214_make2
prev  |  next  |  chance

APCS Array 2, Problem 14. Given 2 int arrays, a and b, return a new array length 2 containing, as much as will fit, the elements from a followed by the elements from b. The arrays may be any length, including 0, but there will be 2 or more elements available between the 2 arrays.


A214_make2([4, 5], [1, 2, 3]) → [4, 5]
A214_make2([4], [1, 2, 3]) → [4, 1]
A214_make2([3], [1, 2, 3]) → [3, 1]

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

public int[] A214_make2(int[] a, int[] b) { }

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: 100 Post-solution available

Copyright Nick Parlante 2017 - privacy