Kotlinlearncs.online LogoJava
Return to List

Solve: Make 2

Imported By: Geoffrey Challen
/ Version: 2021.6.0

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.

int[] make2(int[] first, int[] second) {
return null; // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: