Kotlinlearncs.online LogoJava
Return to List

Homework: Array Front 9

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

Given an int[], return true if one of the first 4 elements in the array is a 9. The array length may be less than 4.