Kotlinlearncs.online LogoJava
Return to List

Homework: Same First Last

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

Given a non-null int[], returntrue` if the array is length 1 or more and the first element and the last element are equal.