about | help | code help+videos | done | prefs |
Given an array of ints, return true if the value 3 appears in the array exactly 3 times, and no 3's are next to each other. haveThree([3, 1, 3, 1, 3]) → true haveThree([3, 1, 3, 3]) → false haveThree([3, 4, 3, 3, 4]) → false ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 254.0
Copyright Nick Parlante 2017 - privacy