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".
For this problem we're expecting only a method.
Don't define a class, include modifiers like static or public, add import statements, or add code outside the method declaration.fun frontAgain(str: String): Boolean {
return false
}