about | help | code help+videos | done | prefs |
Given an unsorted array of ints, find and return the INDEX of the maximum of the numbers in the array (i.e. the INDEX of the largest value). If multiple indexes have the largest value, return the first one. apcsaArraysFindMaxArrayIndex([0, 1, 2, 3]) → 3 apcsaArraysFindMaxArrayIndex([-1, -3, 5]) → 2 apcsaArraysFindMaxArrayIndex([0]) → 0 ...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: 220
Copyright Nick Parlante 2017 - privacy