about | help | code help+videos | done | prefs |
Given an array of ints representing student ages, return the age of the oldest student. If the array is empty return -1. oldAge([11, 12, 13, 14]) → 14 oldAge([34, 33, 32, 31]) → 34 oldAge([17, 18]) → 18 ...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