#89. twoTwo
twoTwo
Background
Description
Given an array of ints, return true if every 2 that appears in the array is next to another 2.
Format
Input
Output
Samples
[4 2 2 3]
true
[2 2 4]
true
[2 2 4 2]
false
Limitation
1s, 1024KiB for each test case.