about | help | code help+videos | done | prefs |
An array list contains the salaries of the executive staff at an international company. Return the maximum salary from this array list. If there are no salaries, return -1. commonAlgMaxSalary([100000, 225000, 155000, 220000]) → 225000 commonAlgMaxSalary([1000000, 990000, 800000]) → 1000000 commonAlgMaxSalary([]) → -1 ...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: 10 Post-solution available
Copyright Nick Parlante 2017 - privacy