Given an array of ints, return true if the array contains a 2 next to a 2 or a 4 next to a 4, but not both.
Go...Save, Compile, Run (ctrl-enter)
Editor font size %:75100125150Shorter output
Progress graphs: Your progress graph for this problem Random user progress graph for this problem Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy