Solve: Special Eleven
Imported By: Geoffrey Challen
/ Version: 2021.6.0
We'll say a number is special if it is a multiple of 11 or if it is one more than a multiple of 11.
Return true
if the given non-negative Int
is special.
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 specialEleven(n: Int): Boolean {
return false
}