Kotlinlearncs.online LogoJava
Return to List

Solve: Same Star Character

Imported By: Geoffrey Challen
/ Version: 2021.7.0

Returns true if for every '*' in the String, if there are characters both before and after the star, they are the same.

fun sameStarChar(input: String): Boolean {
return false // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: