about | help | code help+videos | done | prefs |
whereIsMax
Given an array of ints, return the index of the maximum value in the array. The array length will be 1 or more. There will be no duplicate values in the array. whereIsMax([5, 9, 6]) → 1 whereIsMax([8, 5, 4, 3]) → 0 whereIsMax([7, 5, 0, 14]) → 3 ...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