X66: twoTwo

Given an array of ints, return true if every 2 that appears in the array is next to another 2. Otherwise, return false.

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.