Solve: Double X
Imported By: Geoffrey Challen
/ Version: 2021.4.0
Given a String
, return true
if the first instance of "x" in the string is immediately followed by another "x".
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.boolean doubleX(String input) {
return false;
}