about | help | code help+videos | done | prefs |
Given an integer array "arr", return true if it contains 7, 8, 9 in that order anywhere in the array. Assume that the provided int "index" is always sent a 0 to start at the beginning of the array. recur_contains789([1, 2, 3, 4], 0) → false recur_contains789([7, 8, 9, 1], 0) → true recur_contains789([1, 7, 8, 9], 0) → true ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy