Solve: String Bits
Imported By: Geoffrey Challen
/ Version: 2021.4.0
Given a String
, return a new String
made of every other char starting with the first, so "Hello" yields "Hlo".
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 stringBits(String input) {
return "";
}