about | help | code help+videos | done | prefs |
pair10
Given an array of integers, return true if the array contains two side-by-side values whose sum is a multple of 10, and false otherwise. All integers will be positive. pair10([13, 7]) → true pair10([2, 11, 8, 9]) → false pair10([10, 5, 10, 5, 10, 5]) → 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: 200
Copyright Nick Parlante 2017 - privacy