Kotlinlearncs.online LogoJava
Return to List

Solve: End Other

Imported By: Geoffrey Challen
/ Version: 2021.7.0

Given two Strings, return true if either of the Strings appears at the end of the other String. Ignore differences in case.

fun endOther(
first: String,
second: String,
): Boolean {
return false // You may need to remove this starter code

Related Lessons

Stuck? You may find these lessons helpful: