Solve: Make Out Word
Imported By: Geoffrey Challen
/ Version: 2021.5.0
Given an String
out
length 4, such as "<<>>", and a String
word
,
return a new String
where the word is in the middle of the out String
: "<>".
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 makeOutWord(
out: String,
word: String,
): String {
return ""
}