Kotlinlearncs.online LogoJava
Return to List

Homework: Make Middle

Imported By: learncs.online Staff
/ Version: 2021.6.0
/ Adapted from CodingBat

Given an int[] of even length at least two, return a new int[] with length 2 containing the middle two elements from the passed array.

Related Lessons

Stuck? You may find these lessons helpful: