#21. double23
double23
Background
Description
Given an int array, return true if the array contains 2 twice, or 3 twice. The array will be length 0, 1, or 2.
Format
Input
Output
Samples
[2 2]
true
[3 3]
true
[2 3]
false
Limitation
1s, 1024KiB for each test case.