about | help | code help+videos | done | prefs |
arrayTwoBetween20And25
Return true if there exists at least two numbers in nums that are between 20 and 25 (both inclusive), unless all numbers are in this range. Otherwise, return false. arrayTwoBetween20And25([1, 20, 3, 4]) → false arrayTwoBetween20And25([28, 22, 25]) → true arrayTwoBetween20And25([22, 24, 25, 23, 21]) → 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: 10 Post-solution available
Copyright Nick Parlante 2017 - privacy