Kotlinlearncs.online LogoJava
Return to List

Solve: Front Again

Imported By: Geoffrey Challen
/ Version: 2021.6.0

Given a String, return true if the first 2 characters in the String also appear in order at the end, such as with "edited" or "ed".

fun frontAgain(str: String): Boolean {
return false // You may need to remove this starter code

Related Lessons

Stuck? You may find these lessons helpful: