Kotlinlearncs.online LogoJava
Return to List

Homework: Make 2

Imported By: Geoffrey Challen
/ Version: 2021.6.0
/ Adapted from CodingBat

Given two int[], return a new array length 2 containing, as much as will fit, the elements from the first array followed by the elements from the second array. The arrays may be any length, including 0, but there will always be two or more elements available between them.