Kotlinlearncs.online LogoJava
Return to List

Homework: Front Piece

Imported By: Geoffrey Challen
/ Version: 2021.6.0

Given a non-null int[] of any length, return a new array of its first 2 elements. If the array is smaller than length 2, use whatever elements are present.

Related Lessons

Stuck? You may find these lessons helpful: