Solve: Missing Char
Imported By: Geoffrey Challen
/ Version: 2021.3.0
Given a non-empty String
and an int
, return a new String
where the character at that index has been removed.
The int
value passed will be a valid index in the original 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.String missingChar(String string, int toRemove) {
return "";
}