about | help | code help+videos | done | prefs |
Given an array of ints, find the position of the smallest value. If more than one value ties for the smallest number, return the smallest minimum position. If the array is empty return -1; wheresWee([3, 5, 1, 8]) → 2 wheresWee([]) → -1 wheresWee([-4, -5, -6]) → 2 ...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