Solve: Double 23
Imported By: Geoffrey Challen
/ Version: 2021.6.0
Given a non-null
int[]
, return true if the array contains 2 twice, or 3 twice.
The array will be length 0, 1, or 2.
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 double23(int[] values) {
return false;
}