Kotlinlearncs.online LogoJava
Return to List

Solve: Middle Way

Imported By: Geoffrey Challen
/ Version: 2021.6.0

Given two int[]s, each with length 3, return a new array with length two containing their middle elements.

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

Related Lessons

Stuck? You may find these lessons helpful: