Solve: String X
Imported By: Geoffrey Challen
/ Version: 2021.5.0
Given a String
, return a version where all the "x" have been removed.
Except an "x" at the very start or end should not be removed.
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 stringX(input: String): String {
return ""
}