about | help | code help+videos | done | prefs |
findMinValue
Write a method that accepts an array of integers as a parameter, and which returns the smallest value in that array. For example if the array {-3, -2, -6} was passed to the method, it would return -6. If an empty array is passed to the method, it should return -999. findMinValue([-3, -2, -6]) → -6 findMinValue([111, 222, 3333, 22]) → 22 findMinValue([]) → -999 ...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: 100
Copyright Nick Parlante 2017 - privacy