Solve: String Yak
Imported By: Geoffrey Challen
/ Version: 2021.4.0
Suppose the string "yak" is unlucky.
Given a String
, return a version where all the "yak" are removed, but the "a" can be any char.
The "yak" strings will not overlap.
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 stringYak(input: String): String {
return ""
}