X49: modThree

Given an array of int values, return true if the array contains either 3 even or 3 odd values all next to each other.

Reset

Practice a different Java exercise