Kotlinlearncs.online LogoJava
Return to List

Homework: Common End

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

Given two non-null int[]s, return true if they have the same first element or they have the same last element. Both arrays will have length at least one.